【代码评审】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, "自定义条件表达式");
private final Integer type;
private final String name;
public static BpmSimpleModeConditionType valueOf(Integer type) {
return ArrayUtil.firstMatch(nodeType -> nodeType.getType().equals(type), values());
}
}