|
|
@ -116,7 +116,7 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
|
|
|
|
var task = await GetQuery(request.BusinessId, request.BusinessType, request.TaskType).FirstAsync();
|
|
|
|
var task = await GetQuery(request.BusinessId, request.BusinessType, request.TaskType).FirstAsync();
|
|
|
|
if (task != null)
|
|
|
|
if (task != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var list = await GetSubRequestAsync(request.BusinessId, request.BusinessType, task.RecvUserIdArray);
|
|
|
|
var list = Array.FindAll(await GetSubRequestAsync(request.BusinessId, request.BusinessType, task.RecvUserIdArray), x => !string.IsNullOrEmpty(x.TaskTypeName));
|
|
|
|
await CreateSubTaskAsync(list);
|
|
|
|
await CreateSubTaskAsync(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -151,6 +151,10 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
|
|
|
|
dto.TaskTypeName = TaskBaseTypeEnum.WAIT_COA.ToString();
|
|
|
|
dto.TaskTypeName = TaskBaseTypeEnum.WAIT_COA.ToString();
|
|
|
|
else if (svcName == "产地证")
|
|
|
|
else if (svcName == "产地证")
|
|
|
|
dto.TaskTypeName = TaskBaseTypeEnum.WAIT_CHANDIZHENG.ToString();
|
|
|
|
dto.TaskTypeName = TaskBaseTypeEnum.WAIT_CHANDIZHENG.ToString();
|
|
|
|
|
|
|
|
else if (svcName == "拖车")
|
|
|
|
|
|
|
|
dto.TaskTypeName = TaskBaseTypeEnum.WAIT_TUOCHE.ToString();
|
|
|
|
|
|
|
|
else if (svcName == "保险")
|
|
|
|
|
|
|
|
dto.TaskTypeName = TaskBaseTypeEnum.WAIT_Insurance.ToString();
|
|
|
|
|
|
|
|
|
|
|
|
list[i] = dto;
|
|
|
|
list[i] = dto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|