fix: 自动通过枚举变更

This commit is contained in:
LesanOuO
2025-01-22 09:52:06 +08:00
parent ca1d9e6896
commit 6317a4f361

View File

@@ -15,10 +15,9 @@ import java.util.Arrays;
@AllArgsConstructor
public enum BpmAutoApproveType implements IntArrayValuable {
// TODO @lesan0、1、/2 会不会好理解一点哈。
NONE(1, "自动通过"),
APPROVE_ALL(2, "审批一次,后续重复的审批节点自动通过"),
APPROVE_SEQUENT(3, "仅针对连续审批的节点自动通过");
NONE(0, "不自动通过"),
APPROVE_ALL(1, "仅审批一次,后续重复的审批节点均自动通过"),
APPROVE_SEQUENT(2, "针对连续审批节点自动通过");
public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(BpmAutoApproveType::getType).toArray();