增加审核参数
This commit is contained in:
@@ -249,11 +249,28 @@ namespace UFIDA.U8.Framework.Api.ControlObject.U8M
|
||||
#endif
|
||||
}
|
||||
|
||||
_vbLogin = new VBLogin();
|
||||
|
||||
_vbLogin.ClearError();
|
||||
_logInfo.Debug($"VB--开始进行U8登录:{_netLogin.userToken}");
|
||||
_vbLogin.ConstructLogin(_netLogin.userToken);
|
||||
if (_netLogin != null)
|
||||
{
|
||||
_vbLogin = new VBLogin();
|
||||
|
||||
_vbLogin.ClearError();
|
||||
_logInfo.Debug($"VB--开始进行U8登录:{_netLogin.userToken}");
|
||||
_vbLogin.ConstructLogin(_netLogin.userToken);
|
||||
}
|
||||
else if(_vbLogin==null)
|
||||
{
|
||||
_vbLogin = new VBLogin();
|
||||
|
||||
_vbLogin.ClearError();
|
||||
|
||||
_logInfo.Debug($"VB--开始进行U8登录:{paramter.cSrv}--{paramter.pUserId}--{paramter.pAccId}");
|
||||
|
||||
if (!_vbLogin.Login(paramter.pSubId, paramter.pAccId, paramter.pYearId, paramter.pUserId, paramter.pPassword, paramter.pDate, paramter.cSrv, paramter.cSerial) && string.IsNullOrWhiteSpace(_vbLogin.userToken))
|
||||
{
|
||||
throw new Exception($"VB--U8登录失败---{_vbLogin.ShareString}");
|
||||
}
|
||||
}
|
||||
|
||||
var taskId = DateTime.Now.Ticks.ToString();
|
||||
_logInfo.Debug($"VB--设置参数:{taskId}");
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using UFIDA.U8.Framework.Api.ControlObject.Common;
|
||||
using UFIDA.U8.Framework.Api.ControlObject.Entity;
|
||||
using UFIDA.U8.Framework.Api.ControlObject.Json;
|
||||
@@ -174,6 +176,31 @@ namespace UFIDA.U8.Framework.Api.ControlObject.U8M
|
||||
|
||||
}
|
||||
|
||||
public BaseResult<dynamic> LoadData(string cCardNum, List<int> inputs)
|
||||
{
|
||||
try
|
||||
{
|
||||
var dataSet = new MOrderDs();
|
||||
|
||||
if (inputs == null || inputs.Count <= 0)
|
||||
throw new Exception("查询未返回任何结果");
|
||||
|
||||
foreach (var ds in inputs.Select(input => MOMExecutor.BFMOrder_LoadData("LoadById", input, new DefaultContextContainer())))
|
||||
{
|
||||
dataSet.Merge(ds);
|
||||
}
|
||||
|
||||
return new BaseResult<dynamic>() { bSuccess = true, message = "查询成功", result = dataSet };
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logInfo.Error(ex.Message, ex);
|
||||
|
||||
return new BaseResult<dynamic>() { bSuccess = false, message = "删除失败", result = ex.Message };
|
||||
}
|
||||
}
|
||||
|
||||
//public BaseResult<dynamic> Verify(string cCardNum, List<string> inputs)
|
||||
//{
|
||||
// try
|
||||
|
||||
Reference in New Issue
Block a user