设置任务状态针对费用类型做特殊处理

dev
嵇文龙 2 months ago
parent bf5d0f5b4f
commit d15cf21d9b

@ -553,7 +553,7 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
var groups = relativeTasks.GroupBy(x => x.TaskStatus).Select(x => x.Key).ToList(); var groups = relativeTasks.GroupBy(x => x.TaskStatus).Select(x => x.Key).ToList();
if (groups.Count == 1 && groups.All(x => x == request.TaskStatus)) if (groups.Count == 1 && groups.All(x => x == request.TaskStatus))
{ {
result = await ManagerService.SetTaskStatusWithBsno(request.BusinessId, request.TaskType, request.TaskStatus, DateTime.Now, request.TaskDesc); result = await ManagerService.SetTaskStatusWithBsno(request.BusinessId, request.TaskType, request.TaskStatus, DateTime.Now, request.TaskDesc, [.. task.RecvUserIdArray]);
if (!result.Succeeded) if (!result.Succeeded)
return DataResult.Failed(result.Message, result.MultiCode); return DataResult.Failed(result.Message, result.MultiCode);
} }

Loading…
Cancel
Save