提交 70b2f16b 编写于 作者: tangyaolong's avatar tangyaolong

规则组名和规则名同步

上级 29b1c430
......@@ -57,7 +57,8 @@ TARGET=PSDEACTION
<#assign dataentity = afterlogic.getDstPSDE()>
<#assign deaction = afterlogic.getDstPSDEAction()>
<#assign target = afterlogic.getId()>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="${target}" id="${target}" implementation="http://www.jboss.org/drools/rule" name="${(dataentity.codeName + deaction.codeName)?lower_case}"/>
<#assign groupName = (dataentity.codeName + deaction.codeName)?lower_case>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="${groupName}" id="${target}" implementation="http://www.jboss.org/drools/rule" name="${(dataentity.codeName + deaction.codeName)?lower_case}"/>
</#if>
<sequenceFlow id="${source}_${target}" sourceRef="${source}" targetRef="${target}"/>
<#assign source = target>
......
......@@ -57,7 +57,8 @@ TARGET=PSDEACTION
<#assign dataentity = beforelogic.getDstPSDE()>
<#assign deaction = beforelogic.getDstPSDEAction()>
<#assign target = beforelogic.getId()>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="${target}" id="${target}" implementation="http://www.jboss.org/drools/rule" name="${(dataentity.codeName + deaction.codeName)?lower_case}"/>
<#assign groupName = (dataentity.codeName + deaction.codeName)?lower_case>
<businessRuleTask activiti:exclusive="true" g:ruleFlowGroup="${groupName}" id="${target}" implementation="http://www.jboss.org/drools/rule" name="${(dataentity.codeName + deaction.codeName)?lower_case}"/>
</#if>
<sequenceFlow id="${source}_${target}" sourceRef="${source}" targetRef="${target}"/>
<#assign source = target>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册