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

工作流条件

上级 dac87f0e
...@@ -326,7 +326,8 @@ TARGET=PSWFVERSION ...@@ -326,7 +326,8 @@ TARGET=PSWFVERSION
<#if WFLinkCond.getPSWFLinkConds()?? && WFLinkCond.getPSWFLinkConds()??><#comment>判断是否有组条件</#comment> <#if WFLinkCond.getPSWFLinkConds()?? && WFLinkCond.getPSWFLinkConds()??><#comment>判断是否有组条件</#comment>
<#assign conn=WFLinkCond.getGroupOP()?replace("AND","&&")?replace("OR","||")> <#assign conn=WFLinkCond.getGroupOP()?replace("AND","&&")?replace("OR","||")>
<#list WFLinkCond.getPSWFLinkConds() as childWFLinkCond><#comment>组条件,递归</#comment> <#list WFLinkCond.getPSWFLinkConds() as childWFLinkCond><#comment>组条件,递归</#comment>
<#if childWFLinkCond.getPSWFLinkGroupCond?? && childWFLinkCond.getPSWFLinkGroupCond()??> <#assign childLinkType = childWFLinkCond.getCondType()>
<#if (childWFLinkCond.getPSWFLinkConds?? && childWFLinkCond.getPSWFLinkConds()?? ) || childLinkType=='GROUP'>
<#assign strRuleCond=strRuleCond+getGroupCond(childWFLinkCond)>//getGroupCond <#assign strRuleCond=strRuleCond+getGroupCond(childWFLinkCond)>//getGroupCond
<#else> <#else>
<#assign strRuleCond=strRuleCond+getFieldCond(childWFLinkCond)>//getFieldCond <#assign strRuleCond=strRuleCond+getFieldCond(childWFLinkCond)>//getFieldCond
...@@ -346,7 +347,7 @@ TARGET=PSWFVERSION ...@@ -346,7 +347,7 @@ TARGET=PSWFVERSION
<#function getFieldCond WFLinkCond> <#function getFieldCond WFLinkCond>
<#assign fieldCond="(" > <#assign fieldCond="(" >
<#assign condBody=""> <#assign condBody="">
<#assign paramType=WFLinkCond.getParamType()><#comment>参数类型</#comment> <#assign paramType=((WFLinkCond.getParamType())!'')><#comment>参数类型</#comment>
<#assign targetField=WFLinkCond.getFieldName()><#comment>目标属性</#comment> <#assign targetField=WFLinkCond.getFieldName()><#comment>目标属性</#comment>
<#assign targetDBValueOP=WFLinkCond.getCondOP()><#comment>表达式</#comment> <#assign targetDBValueOP=WFLinkCond.getCondOP()><#comment>表达式</#comment>
<#assign targetValue=WFLinkCond.getParamValue()><#comment>值项</#comment> <#assign targetValue=WFLinkCond.getParamValue()><#comment>值项</#comment>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册