去除引用common.props
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using JNPF.Common.Core.Manager;
|
||||
using System.Linq.Expressions;
|
||||
using JNPF.Common.Core.Manager;
|
||||
using JNPF.Common.Extension;
|
||||
using JNPF.Common.Filter;
|
||||
using JNPF.Common.Models.WorkFlow;
|
||||
@@ -21,7 +22,6 @@ using JNPF.WorkFlow.Entitys.Model.Properties;
|
||||
using JNPF.WorkFlow.Interfaces.Repository;
|
||||
using Mapster;
|
||||
using SqlSugar;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace JNPF.WorkFlow.Repository;
|
||||
|
||||
@@ -512,7 +512,8 @@ public class FlowTaskRepository : IFlowTaskRepository, ITransient
|
||||
var output = new List<object>();
|
||||
foreach (var item in list.GroupBy(x => x.TemplateId))
|
||||
{
|
||||
output.Add(new {
|
||||
output.Add(new
|
||||
{
|
||||
id = item.Key,
|
||||
fullName = string.Format("{0}({1})", item.FirstOrDefault().FlowName, item.Count()),
|
||||
count = item.Count()
|
||||
@@ -1390,7 +1391,7 @@ public class FlowTaskRepository : IFlowTaskRepository, ITransient
|
||||
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 = b.CreatorTime==null ? a.HandleTime : b.CreatorTime, //modifyby zhoukeda 20230704
|
||||
creatorTime = b.CreatorTime == null ? a.HandleTime : b.CreatorTime, //modifyby zhoukeda 20230704
|
||||
fileList = a.FileList
|
||||
}).ToListAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user