提交 6bcac196 编写于 作者: tangyaolong's avatar tangyaolong

test

上级 27520ad5
......@@ -129,14 +129,13 @@ TARGET=PSDELOGIC
<#if LogicLinkCond.getPSDELogicLinkConds?? && LogicLinkCond.getPSDELogicLinkConds()??><#comment>判断是否有组条件</#comment>
<#assign conn=LogicLinkCond.getGroupOP()?replace("AND","&&")?replace("OR","||")>
<#list LogicLinkCond.getPSDELogicLinkConds() as childLogicLinkCond><#comment>组条件,递归</#comment>
<#assign childConn=childLogicLinkCond.getGroupOP()?replace("AND","&&")?replace("OR","||")>
<#if childLogicLinkCond.getPSDELogicLinkConds?? && childLogicLinkCond.getPSDELogicLinkConds()??>
<#assign strRuleCond=strRuleCond+getGroupCond(childLogicLinkCond)>//getGroupCond
<#else>
<#assign strRuleCond=strRuleCond+getFieldCond(childLogicLinkCond)>//getFieldCond
</#if>
<#if childLogicLinkCond_has_next>
<#assign strRuleCond=strRuleCond+childConn>//拼接连接符
<#assign strRuleCond=strRuleCond+conn+LogicLinkCond.getName()+LogicLinkCond.getType()>//拼接连接符
</#if>
</#list>
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册