mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-22 20:13:32 +08:00
feat: #IBYEGX 业务系统增加送审功能
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
|
||||
* @Date: 2024-12-13 16:55:17
|
||||
* @Description: 工作流实例表操作
|
||||
* @LastEditTime: 2025-04-04 23:30:39
|
||||
* @LastEditTime: 2025-04-05 15:22:30
|
||||
* Copyright (c) 2024 by yubaolee | ahfu~ , All Rights Reserved.
|
||||
*/
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace OpenAuth.App
|
||||
/// 创建一个实例
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool CreateInstance(AddFlowInstanceReq addFlowInstanceReq)
|
||||
public string CreateInstance(AddFlowInstanceReq addFlowInstanceReq)
|
||||
{
|
||||
CheckNodeDesignate(addFlowInstanceReq);
|
||||
FlowScheme scheme = null;
|
||||
@@ -91,7 +91,6 @@ namespace OpenAuth.App
|
||||
var user = _auth.GetCurrentUser();
|
||||
|
||||
#region 根据运行实例改变当前节点状态
|
||||
|
||||
flowInstance.ActivityId = wfruntime.nextNodeId;
|
||||
flowInstance.ActivityType = wfruntime.GetNextNodeType();
|
||||
flowInstance.ActivityName = wfruntime.nextNode.name;
|
||||
@@ -203,7 +202,7 @@ namespace OpenAuth.App
|
||||
|
||||
wfruntime.SaveTransitionHis();
|
||||
SugarClient.Ado.CommitTran();
|
||||
return true;
|
||||
return flowInstance.Id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@@ -119,5 +119,12 @@ namespace OpenAuth.App.Request
|
||||
/// </summary>
|
||||
[Description("知会的用户或角色ID列表")]
|
||||
public List<string> NoticeIds { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 业务ID
|
||||
/// 当流程实例与业务单据关联时,记录关联的业务ID
|
||||
/// </summary>
|
||||
[Description("业务ID")]
|
||||
public string BusinessId { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user