add - 添加新版的 JSON 转 BPMN 功能
This commit is contained in:
parent
f15cdab842
commit
022f57f3fa
@ -120,8 +120,12 @@ public class BpmTransformUtil {
|
||||
if (!ObjectUtils.isEmpty(parentNode.getProperty()) && !Boolean.TRUE.equals(parentNode.getProperty().getDefaultBranch())) {
|
||||
//解析条件表达式
|
||||
StringBuffer conditionExpression = new StringBuffer();
|
||||
conditionExpression.append("${ ");
|
||||
conditionExpression.append("var:eq('" + parentNode.getProperty().getConditionBranchKey() + "', " + parentNode.getProperty().getConditionBranchValue() + ")");
|
||||
conditionExpression.append("${ ")
|
||||
.append("var:eq('")
|
||||
.append(parentNode.getProperty().getConditionBranchKey())
|
||||
.append("', ")
|
||||
.append(parentNode.getProperty().getConditionBranchValue())
|
||||
.append(")");
|
||||
conditionExpression.append(" }");
|
||||
|
||||
flow.setConditionExpression(conditionExpression.toString());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user