🐛fix: 修复召回

This commit is contained in:
yubaolee
2026-06-11 21:34:53 +08:00
parent bfe9bf2481
commit 9aac53b3eb
3 changed files with 40 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
--- ---
name: dev name: dev
description: OpenAuth.Net开发规范 description: OpenAuth.Net后端开发规范
--- ---
## 编码规范 ## 编码规范

View File

@@ -10,6 +10,16 @@
public string name { get; set; } public string name { get; set; }
/// <summary>
/// 节点类型
/// <para>
/// start:开始节点
/// end:结束节点
/// node:普通节点
/// fork:网关开始
/// join:网关结束
/// </para>
/// </summary>
public string type { get; set; } public string type { get; set; }
public int left { get; set; } public int left { get; set; }
@@ -47,10 +57,29 @@
/// </summary> /// </summary>
public string NodeRejectType { get; set; } public string NodeRejectType { get; set; }
/// <summary>
/// 审批标记1通过2不通过3驳回
/// </summary>
public int? Taged { get; set; } public int? Taged { get; set; }
/// <summary>
/// 审批人名称
/// </summary>
public string UserName { get; set; } public string UserName { get; set; }
/// <summary>
/// 审批人ID
/// </summary>
public string UserId { get; set; } public string UserId { get; set; }
/// <summary>
/// 审批意见
/// </summary>
public string Description { get; set; } public string Description { get; set; }
/// <summary>
/// 审批时间
/// </summary>
public string TagedTime { get; set; } public string TagedTime { get; set; }
//网关审批通过的方式, //网关审批通过的方式,

View File

@@ -406,7 +406,16 @@ namespace OpenAuth.App.Flow
{ {
foreach (var item in Nodes) foreach (var item in Nodes)
{ {
item.Value.setInfo = null; if (item.Value.setInfo != null)
{
item.Value.setInfo.Taged = null;
item.Value.setInfo.UserName = null;
item.Value.setInfo.UserId = null;
item.Value.setInfo.Description = null;
item.Value.setInfo.TagedTime = null;
item.Value.setInfo.ConfluenceOk = null;
item.Value.setInfo.ConfluenceNo = null;
}
} }
flowInstance.IsFinish = FlowInstanceStatus.Draft; flowInstance.IsFinish = FlowInstanceStatus.Draft;