获取接收人列表bug修复

usertest
嵇文龙 4 months ago
parent 89a3997c06
commit f35b391f8b

@ -63,8 +63,7 @@ namespace DS.WMS.Core.Op.Entity.TaskInteraction
/// 获取接收人列表
/// </summary>
[SugarColumn(IsIgnore = true)]
public long[] RecvUserIdArray => RecvUsers == null ? [] :
RecvUsers.Split(',', StringSplitOptions.RemoveEmptyEntries).Select(long.Parse).ToArray();
public string[] RecvUserIdArray => RecvUsers == null ? [] : RecvUsers.Split(',', StringSplitOptions.RemoveEmptyEntries);
/// <summary>
/// 备注

@ -109,8 +109,8 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction
{
BusinessId = task.BusinessId,
BusinessType = task.BusinessType,
CreateBy = long.Parse(User.UserId),
CreateTime = DateTime.Now,
CreateBy = userId,
CreateTime = dt,
RecvUsers = info.Main.RecvUserInfoList == null ? null : string.Join(",", info.Main.RecvUserInfoList.Select(x => x.RecvUserName)),
TaskStatus = task.TaskStatus,
TaskType = task.TaskType

Loading…
Cancel
Save