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

express

上级 dcb913a2
...@@ -284,12 +284,22 @@ TARGET=PSWFVERSION ...@@ -284,12 +284,22 @@ TARGET=PSWFVERSION
<#if targetField??> <#if targetField??>
<#assign targetField=targetField?lower_case> <#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","<") >--> <#--<#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'> <#if targetDBValueOP=="ISNULL" || targetDBValueOP=="ISNOTNULL">
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' null)" >
<#elseif paramType??&&paramType=='ENTITYFIELD'>
<#if targetValue??&&targetValue!="">
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' activedata."+targetValue?lower_case+")" > <#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' activedata."+targetValue?lower_case+")" >
<#else>
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' null)" >
</#if>
<#elseif paramType??&&paramType=='CURTIME'> <#elseif paramType??&&paramType=='CURTIME'>
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' wfCoreService.getnow())" > <#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' wfCoreService.getnow())" >
<#else> <#else>
<#if targetValue??&&targetValue!="">
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' '"+targetValue?replace("\"","")?replace("‘","")?replace("“","")?replace("”","")+"')" > <#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' '"+targetValue?replace("\"","")?replace("‘","")?replace("“","")?replace("”","")+"')" >
<#else>
<#assign condBody="wfCoreService.test(activedata."+targetField+" '"+targetDBValueOP+"' null)" >
</#if>
</#if> </#if>
</#if> </#if>
<#assign fieldCond=fieldCond+condBody > <#assign fieldCond=fieldCond+condBody >
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册