houzhongjian
2025-06-18 9503c1ebb3fbb68fb8259bea87097d010846e2d5
iailab-module-bpm/iailab-module-bpm-api/src/main/java/com/iailab/module/bpm/enums/definition/BpmSimpleModeConditionType.java
@@ -1,7 +1,7 @@
package com.iailab.module.bpm.enums.definition;
import cn.hutool.core.util.ArrayUtil;
import com.iailab.framework.common.core.IntArrayValuable;
import com.iailab.framework.common.core.ArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;
@@ -14,12 +14,12 @@
 */
@Getter
@AllArgsConstructor
public enum BpmSimpleModeConditionType implements IntArrayValuable {
public enum BpmSimpleModeConditionType implements ArrayValuable {
    EXPRESSION(1, "条件表达式"),
    RULE(2, "条件规则");
    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(BpmSimpleModeConditionType::getType).toArray();
    public static final Integer[] ARRAYS = Arrays.stream(values()).map(BpmSimpleModeConditionType::getType).toArray(Integer[]::new);
    private final Integer type;
@@ -30,7 +30,7 @@
    }
    @Override
    public int[] array() {
    public Integer[] array() {
        return ARRAYS;
    }
}