|
|
@@ -538,8 +538,23 @@ namespace Business.ResourceExamineManagement
|
|
|
/// <param name="input"></param>
|
|
|
/// <returns></returns>
|
|
|
/// <exception cref="NotImplementedException"></exception>
|
|
|
- public async Task<string> ReceiveResult(ResourceCheckInputDto input)
|
|
|
+ public async Task<string> ReceiveResult(string ids)
|
|
|
{
|
|
|
+ if (string.IsNullOrEmpty(ids))
|
|
|
+ {
|
|
|
+ throw new NotImplementedException("请输入正确的订单号!");
|
|
|
+ }
|
|
|
+ Array alist = ids.Split(',');
|
|
|
+
|
|
|
+ ResourceCheckInputDto input = new ResourceCheckInputDto();
|
|
|
+ input.sorderId = new List<long>();
|
|
|
+ foreach (string longid in alist)
|
|
|
+ {
|
|
|
+ input.sorderId.Add(long.Parse(longid));
|
|
|
+ }
|
|
|
+ input.tenantId = 1000;
|
|
|
+ input.factoryId = 1001;
|
|
|
+
|
|
|
//资源检查入参全局变量赋值
|
|
|
param.tenantId = input.tenantId;
|
|
|
param.factoryId = input.factoryId;
|