Browse Source

【代码评审】BPM:review 仿钉钉流程设计 - 调整排他网关和条件节点

YunaiV 1 year ago
parent
commit
b6d0176186

+ 1 - 1
yudao-module-bpm/yudao-module-bpm-api/src/main/java/cn/iocoder/yudao/module/bpm/enums/definition/BpmSimpleModeConditionType.java

@@ -15,11 +15,11 @@ public enum BpmSimpleModeConditionType {
 
     CUSTOM_EXPRESSION(1, "自定义条件表达式");
 
-
     private final Integer type;
     private final String name;
 
     public static BpmSimpleModeConditionType valueOf(Integer type) {
         return ArrayUtil.firstMatch(nodeType -> nodeType.getType().equals(type), values());
     }
+
 }

+ 3 - 0
yudao-module-bpm/yudao-module-bpm-biz/src/main/java/cn/iocoder/yudao/module/bpm/framework/flowable/core/enums/SimpleModelConstants.java

@@ -13,6 +13,8 @@ public interface SimpleModelConstants {
      */
     String APPROVE_METHOD_ATTRIBUTE = "approveMethod";
 
+    // TODO @芋艿:条件表达式的字段名
+
     /**
      * 网关节点默认序列流属性
      */
@@ -27,4 +29,5 @@ public interface SimpleModelConstants {
      * 条件节点条件表达式属性
      */
     String CONDITION_EXPRESSION_ATTRIBUTE = "conditionExpression";
+
 }