提交 dcb913a2 编写于 作者: sq3536's avatar sq3536

express

上级 2c79b11a
......@@ -255,7 +255,7 @@ TARGET=PSWFVERSION
<#function getGroupCond WFLinkCond>
<#assign strRuleCond="(">
<#if WFLinkCond.getPSWFLinkConds()?? && WFLinkCond.getPSWFLinkConds()??><#comment>判断是否有组条件</#comment>
<#assign conn=WFLinkCond.getGroupOP()>
<#assign conn=WFLinkCond.getGroupOP()?replace("AND","&&")?replace("OR","||")>
<#list WFLinkCond.getPSWFLinkConds() as childWFLinkCond><#comment>组条件,递归</#comment>
<#if childWFLinkCond.getPSWFLinkGroupCond?? && childWFLinkCond.getPSWFLinkGroupCond()??>
<#assign strRuleCond=strRuleCond+getGroupCond(childWFLinkCond)>//getGroupCond
......@@ -285,11 +285,11 @@ TARGET=PSWFVERSION
<#assign targetField=targetField?lower_case>
<#--<#assign strTargetDBValueOP=targetDBValueOP?replace("ISNOTNULL","!= null")?replace("ISNULL","== null")?replace("AND","&&")?replace("OR","||")?replace("GT&&EQ",">=")?replace("LT&&EQ","<=")?replace("NOTEQ","!=")?replace("EQ","==")?replace("GT",">")?replace("LT","<") >-->
<#if paramType??&&paramType=='ENTITYFIELD'>
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+strTargetDBValueOP+"' activedata."+targetValue?lower_case+")" >
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' activedata."+targetValue?lower_case+")" >
<#elseif paramType??&&paramType=='CURTIME'>
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+strTargetDBValueOP+"' wfCoreService.getnow())" >
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' wfCoreService.getnow())" >
<#else>
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+strTargetDBValueOP+"' '"+targetValue?replace("\"","")?replace("‘","")?replace("“","")?replace("”","")+"')" >
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' '"+targetValue?replace("\"","")?replace("‘","")?replace("“","")?replace("”","")+"')" >
</#if>
</#if>
<#assign fieldCond=fieldCond+condBody >
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册