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

This commit is contained in:
YunaiV 2024-05-03 19:56:12 +08:00
parent 4958aaea81
commit b6d0176186
2 changed files with 4 additions and 1 deletions

View File

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

View File

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