增加审核参数
This commit is contained in:
@@ -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