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

Merge remote-tracking branch 'origin/dev' into dev

...@@ -140,27 +140,28 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}" ...@@ -140,27 +140,28 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}"
iBzSys${de.codeName?lower_case?cap_first}DefaultService.execute(strSql,param);//SQL调用 iBzSys${de.codeName?lower_case?cap_first}DefaultService.execute(strSql,param);//SQL调用
</#if> </#if>
<#elseif deLogicNode.getLogicNodeType()=='RAWSQLANDLOOPCALL'><#comment>直接SQL并循环调用</#comment> <#elseif deLogicNode.getLogicNodeType()=='RAWSQLANDLOOPCALL'><#comment>直接SQL并循环调用</#comment>
//暂不支持 <#if deLogicNode.getPSDELogicNodeParams()??>
<#--<#if deLogicNode.getPSDELogicNodeParams()??><#comment>是否包含参数列表</#comment>--> <#comment>包含参数列表</#comment>
<#--String strSql=${getCallSQL(deLogicNode)};--> <@getCallSQL2 deLogicNode/>
<#--<#else>--> <#else>
<#--String strSql="${srfjavasqlcode('${deLogicNode.getParam("PARAM4","")}')}";--> Map param = null;
<#--</#if>--> String strSql="${srfjavasqlcode('${deLogicNode.getParam("PARAM4","")}')}";
<#--java.util.List<Map<String,Object>> entities=iBzSys${de.codeName?lower_case?cap_first}DefaultService.selectRow(strSql);//SQL调用--> </#if>
<#--if(entities.size()>0){--> java.util.List<JSONObject> entities=iBzSys${de.codeName?lower_case?cap_first}DefaultService.select(strSql,param);//SQL调用
<#--<#if deLogicNode.getDstPSDataEntity?? && deLogicNode.getDstPSDataEntity()?? &&deLogicNode.getDstPSDEAction?? && deLogicNode.getDstPSDEAction()??>--> if(entities.size()>0){
<#--<#assign targetEntity=deLogicNode.getDstPSDataEntity()>--> <#if deLogicNode.getDstPSDataEntity?? && deLogicNode.getDstPSDataEntity()?? &&deLogicNode.getDstPSDEAction?? && deLogicNode.getDstPSDEAction()??>
<#--<#assign targetAction=deLogicNode.getDstPSDEAction()>--> <#assign targetEntity=deLogicNode.getDstPSDataEntity()>
<#--for(Map<String,Object> entity:entities){--> <#assign targetAction=deLogicNode.getDstPSDEAction()>
<#--${pub.getPKGCodeName()}.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName} targetEntity =new ${pub.getPKGCodeName()}.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName}();--> for(JSONObject entity:entities){
<#--for (Map.Entry<String,Object> entry : entity.entrySet()) {--> ${pub.getPKGCodeName()}.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName} targetEntity =new ${pub.getPKGCodeName()}.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName}();
<#--targetEntity.set(entry.getKey(),entry.getValue());--> for (Map.Entry<String,Object> entry : entity.entrySet()) {
<#--}--> targetEntity.set(entry.getKey(),entry.getValue());
<#--${targetEntity.codeName?lower_case}service.${targetAction.codeName?lower_case}(targetEntity);--> }
<#--}--> ${targetEntity.codeName?lower_case}service.${targetAction.codeName?lower_case}(targetEntity);
<#--</#if>--> }
<#--}--> </#if>
</#if> }
</#if>
<#if delogic.getPSDELogicParams?? && delogic.getPSDELogicParams()??> <#if delogic.getPSDELogicParams?? && delogic.getPSDELogicParams()??>
<#list delogic.getPSDELogicParams() as logicParam> <#list delogic.getPSDELogicParams() as logicParam>
update(${logicName+logicParam.codeName?lower_case});//更新fact中变量值 update(${logicName+logicParam.codeName?lower_case});//更新fact中变量值
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册