mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-15 14:04:41 +08:00
加签记录到流程历史中
This commit is contained in:
parent
1369b08f70
commit
6fc4300521
@ -7,7 +7,6 @@ using OpenAuth.App.Interface;
|
|||||||
using OpenAuth.App.Request;
|
using OpenAuth.App.Request;
|
||||||
using OpenAuth.App.Response;
|
using OpenAuth.App.Response;
|
||||||
using OpenAuth.Repository.Domain;
|
using OpenAuth.Repository.Domain;
|
||||||
using Quartz.Listener;
|
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
|
|
||||||
|
|
||||||
@ -51,6 +50,15 @@ namespace OpenAuth.App
|
|||||||
}
|
}
|
||||||
|
|
||||||
Repository.InsertRange(objs);
|
Repository.InsertRange(objs);
|
||||||
|
SugarClient.Insertable(new FlowInstanceOperationHistory
|
||||||
|
{
|
||||||
|
InstanceId = obj.InstanceId,
|
||||||
|
CreateUserId = loginContext.User.Id,
|
||||||
|
CreateUserName = loginContext.User.Name,
|
||||||
|
CreateDate = DateTime.Now,
|
||||||
|
Content = $"【加签】流程加签给:{string.Join(",", objs.Select(u => u.ApproverName))}"
|
||||||
|
}).ExecuteCommand();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Update(AddApproverReq application)
|
public void Update(AddApproverReq application)
|
||||||
|
Loading…
Reference in New Issue
Block a user