任务变为公共任务bug修复

dev
zhangxiaofeng 2 months ago
parent 4aa968f44c
commit 1846b23d9a

@ -325,7 +325,7 @@ namespace DS.WMS.Core.TaskPlat.Method
//TASK_BASE_TYPE = info.Main.TaskType.ToString(),
//CARRIER_ID = info.Main.CarrierId?.Trim(),
//IS_PUBLIC = string.IsNullOrWhiteSpace(info.Main.TaskUserId) ? 1 : 0,
IS_PUBLIC = 1,
IS_PUBLIC = info.Main.RecvUserInfoList?.Count > 0 ? 0 : 1,
BOOK_ORDER_NO = info.Main.BookingOrderNo,
OUT_BUSI_NO = $"{info.Head.SenderId}_{info.Head.GID}",
TASK_TITLE = info.Main.TaskTitle,
@ -468,7 +468,6 @@ namespace DS.WMS.Core.TaskPlat.Method
logger.LogInformation("批次={no} 接收人列表 recvUserList={recvUserList} ", batchNo,
JsonConvert.SerializeObject(info.Main.RecvUserInfoList));
taskInfo.IS_PUBLIC = 0;
var allocationList = info.Main.RecvUserInfoList.Select(x => new TaskBaseAllocation
{
TaskId = taskInfo.Id,

Loading…
Cancel
Save