提交 1b3af286 编写于 作者: zhouweidong's avatar zhouweidong

区分本地与远程逻辑

上级 5bd82f6a
...@@ -539,23 +539,39 @@ public class DELogicAspect { ...@@ -539,23 +539,39 @@ public class DELogicAspect {
} }
static { static {
validLogic.put("bsentity2checkkeybefore.bpmn", 1); <#if sys.getAllPSDataEntities()??>
validLogic.put("bsentity2checkkeyafter.bpmn", 1); <#list sys.getAllPSDataEntities() as dataEntity>
validLogic.put("citysyncmqdatabefore.bpmn", 1); <#if dataEntity.getAllPSDEActions()??>
validLogic.put("citysyncmqdataafter.bpmn", 1); <#list dataEntity.getAllPSDEActions() as deaction>
validLogic.put("citysyncmqdataexec.bpmn", 1); <#comment>前附加逻辑</#comment>
validLogic.put("humancreatebefore.bpmn", 1); <#if deaction.getBeforePSDEActionLogics()??>
validLogic.put("humancustom3before.bpmn", 1); <#list deaction.getBeforePSDEActionLogics() as beforeLogic>
validLogic.put("humancustom3after.bpmn", 1); <#if (beforeLogic.isValid()==true && beforeLogic.isInternalLogic() && beforeLogic.getPSDELogic().isEnableBackend()) ||
validLogic.put("humancustom3exec.bpmn", 1); (beforeLogic.getDstPSDE()!'')!='' && (beforeLogic.getDstPSDEAction()!'')!='' && beforeLogic.getDstPSDEAction().isEnableBackend() >
validLogic.put("humancustomdeleteexec.bpmn", 1); validLogic.put("${(dataEntity.codeName+deaction.codeName)?lower_case}before.bpmn", 1);
validLogic.put("humangettaxamountexec.bpmn", 1); </#if>
validLogic.put("humanlogicexec.bpmn", 1); </#list>
validLogic.put("humansmileexec.bpmn", 1); </#if>
validLogic.put("humantaxamountexec.bpmn", 1); <#comment>后附加逻辑</#comment>
validLogic.put("loginaccountsyncsysadminexec.bpmn", 1); <#if deaction.getAfterPSDEActionLogics()??>
<#list deaction.getAfterPSDEActionLogics() as afterLogic>
<#if (afterLogic.isValid()==true && afterLogic.isInternalLogic() && afterLogic.getPSDELogic().isEnableBackend()) ||
(afterLogic.getDstPSDE()!'')!='' && (afterLogic.getDstPSDEAction()!'')!='' && afterLogic.getDstPSDEAction().isEnableBackend() >
validLogic.put("${(dataEntity.codeName+deaction.codeName)?lower_case}after.bpmn", 1);
</#if>
</#list>
</#if>
<#comment>行为调用逻辑</#comment>
<#if deaction.getActionType() =='DELOGIC' && deaction.getPSDELogic().isEnableBackend()>
validLogic.put("${(dataEntity.codeName+deaction.codeName)?lower_case}exec.bpmn", 1);
</#if>
</#list>
</#if>
</#list>
</#if>
} }
public enum LogicMode { public enum LogicMode {
/** /**
* 本地 * 本地
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册