mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-19 03:30:06 +08:00
【代码评审】BPM:review 仿钉钉流程设计 - 调整排他网关和条件节点
This commit is contained in:
parent
4958aaea81
commit
b6d0176186
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user