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

处理逻辑上下文

上级 5d28bbb3
......@@ -176,15 +176,14 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}"
<#comment>准备参数列表</#comment>
<#list deLogicNode.getPSDELogicNodeParams() as nodeParam>
<#assign sqlParam="null">
<#assign curLogicEntity=logicName+"default">
<#assign srcPSDELogicParam=nodeParam.getSrcPSDELogicParam()>
<#assign srcFieldName=nodeParam.getSrcFieldName()>
<#if srcPSDELogicParam.getParamPSDataEntity().getPSDEField(srcFieldName,true)??>
<#assign srcFieldName=srfcaseformat(srcPSDELogicParam.getParamPSDataEntity().getPSDEField(srcFieldName,true).getCodeName(),'l_u2lC')>
</#if>
<#if nodeParam.getSrcValueType()=='SRCDLPARAM'><#comment>源逻辑参数</#comment>
<#assign srcPSDELogicParam=nodeParam.getSrcPSDELogicParam()>
<#assign srcFieldName=nodeParam.getSrcFieldName()>
<#assign logicName=(de.codeName+item.codeName)?lower_case>
<#assign srfLogicParamEntity=logicName+srcPSDELogicParam.getCodeName()?lower_case>
<#assign curLogicEntity=logicName+"default">
<#if srcPSDELogicParam.getParamPSDataEntity().getPSDEField(srcFieldName,true)??>
<#assign srcFieldName=srfcaseformat(srcPSDELogicParam.getParamPSDataEntity().getPSDEField(srcFieldName,true).getCodeName(),'l_u2lC')>
</#if>
<#assign sqlParam=srfLogicParamEntity+".get("+srcFieldName?lower_case+")">
<#elseif nodeParam.getSrcValueType()=="WEBCONTEXT"><#comment>网页请求上下文</#comment>
<#assign sqlParam=curLogicEntity+".get("+srcFieldName?lower_case+")">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册