mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 13:39:01 +08:00
fix(flow): 修正拒绝结束状态
(cherry picked from commit 5158476c3ff652f6a97256497074ba9cbd448ff5)
This commit is contained in:
1 parent
269d7fe5e4
commit
4023b142d1
8 files changed
+237
-10
No files matched your search
+5
@@ -60,6 +60,11 @@ public class ProcessInstanceConstant {
|
||||
*/
|
||||
public static final String REJECT_TO_STARTER_VAR = "rejectToStarter";
|
||||
|
||||
/**
|
||||
* 流程变量:明确的流程结束原因
|
||||
*/
|
||||
public static final String FINISH_REASON_VAR = "_pigx_finish_reason";
|
||||
|
||||
/**
|
||||
* 流程结束原因:拒绝
|
||||
*/
|
||||
|
||||
+14
-2
@@ -1,5 +1,7 @@
|
||||
package com.pig4cloud.pigx.flow.dto;
|
||||
|
||||
import com.pig4cloud.pigx.flow.constant.NodeStatusEnum;
|
||||
import com.pig4cloud.pigx.flow.constant.ProcessInstanceConstant;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -49,10 +51,20 @@ public class ProcessInstanceParamDto {
|
||||
*/
|
||||
private String processInstanceId;
|
||||
|
||||
/** 状态 */
|
||||
/**
|
||||
* 状态,对应 {@link NodeStatusEnum}
|
||||
* <p>
|
||||
* 枚举值:0(未开始)、1(进行中)、2(已结束)、9(已终止)。
|
||||
* </p>
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/** 完成原因 */
|
||||
/**
|
||||
* 完成原因,取值定义见 {@link ProcessInstanceConstant}
|
||||
* <p>
|
||||
* 取值:0(拒绝)、1(通过)、3(撤回)、9(终止)。
|
||||
* </p>
|
||||
*/
|
||||
private String finishReason;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user