SVN r1095

SVN-Revision: r1095
This commit is contained in:
tdx
2026-01-11 08:14:01 +00:00
parent f5df57020f
commit 11bee2131b
+6 -32
View File
@@ -1,4 +1,6 @@
using Lskj.Data.Api.BLL;
using Common.Logging;
using Lskj.Data.Api.BLL;
using Lskj.Util;
using Newtonsoft.Json;
using System;
using System.Collections;
@@ -139,12 +141,11 @@ namespace Lskj.Core
isShowApiRtnMessage = false;
}
#endregion
apiHandler = new Lskj.Data.Api.BLL.ApiHandler();
apiHandler = new Lskj.Data.Api.BLL.ApiHandler(SqlHelper._connection.ConnectionString);
apiHandlerModels = new List<ApiHandlerModel>();
apiHandler._dataImpl = new Data.Api.DataImpl();
apiHandler._dataImpl.dbOperator = new Lskj.Data.ADO.Template.DbTemplate(string.Format("server={0};database={1};persist security info=true;user id=lserpAdmin;password=lserp110;max pool size = 512;", DBConfig.Instance.ServerName, DBConfig.Instance.DataBase), "system.data.sqlclient");
if (isSend)//是否发送数据
{
this.Info($"开始执行");
apiHandler.GetEventApiSendData(mep, apiHandlerModels);
apiHandler.SendEventApiData(apiHandlerModels);
}
@@ -342,31 +343,4 @@ namespace Lskj.Core
break;
case Interface.Api.ActionType.Obsolete:
break;
case Interface.Api.ActionType.EscObsolete:
break;
case Interface.Api.ActionType.Submit:
execStr = "提交审核";
break;
case Interface.Api.ActionType.EscSubmit:
break;
case Interface.Api.ActionType.Audit:
break;
case Interface.Api.ActionType.AuditBack:
break;
case Interface.Api.ActionType.AuditClose:
break;
case Interface.Api.ActionType.AuditPress:
break;
case Interface.Api.ActionType.AuditPause:
break;
case Interface.Api.ActionType.AuditForward:
break;
case Interface.Api.ActionType.AuditHand:
break;
default:
break;
}
return execStr;
}
}
}