BPM:流程实例的 status 状态实现,使用 Flowable 的 variables 存储,移除 bpm_process_instance_ext

This commit is contained in:
YunaiV
2024-03-16 16:43:53 +08:00
parent a1defeb48a
commit 7967a2a195
17 changed files with 150 additions and 242 deletions

View File

@ -4,7 +4,7 @@ import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 流程实例的状态
* 流程实例 ProcessInstance 的状态
*
* @author 芋道源码
*/
@ -13,7 +13,9 @@ import lombok.Getter;
public enum BpmProcessInstanceStatusEnum {
RUNNING(1, "进行中"),
FINISH(2, "已完成");
APPROVE(2, "通过"),
REJECT(3, "不通过"),
CANCEL(4, "已取消");
/**
* 状态

View File

@ -0,0 +1,28 @@
package cn.iocoder.yudao.module.bpm.enums.task;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 流程实例的状态
*
* @author 芋道源码
*/
@Deprecated
@Getter
@AllArgsConstructor
public enum BpmProcessInstanceStatusOldEnum {
RUNNING(1, "进行中"),
FINISH(2, "已完成");
/**
* 状态
*/
private final Integer status;
/**
* 描述
*/
private final String desc;
}