流程bug

This commit is contained in:
2023-07-04 17:33:20 +08:00
parent 6310748276
commit 3969f09b31
3 changed files with 11 additions and 1 deletions

View File

@@ -1389,7 +1389,8 @@ public class FlowTaskRepository : IFlowTaskRepository, ITransient
status = a.Status,
userName = SqlFunc.Subqueryable<UserEntity>().Where(u => u.Id == a.HandleId).Select(u => SqlFunc.MergeString(u.RealName, "/", u.Account)),
operatorId = SqlFunc.Subqueryable<UserEntity>().Where(u => u.Id == a.OperatorId).Select(u => SqlFunc.MergeString(u.RealName, "/", u.Account)),
creatorTime = SqlFunc.IsNullOrEmpty(b.CreatorTime) ? a.HandleTime : b.CreatorTime,
// creatorTime = SqlFunc.IsNullOrEmpty(b.CreatorTime) ? a.HandleTime : b.CreatorTime,
creatorTime = b.CreatorTime==null ? a.HandleTime : b.CreatorTime, //modifyby zhoukeda 20230704
fileList = a.FileList
}).ToListAsync();
}