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

直接SQL循环调用

上级 7ecfed43
...@@ -153,7 +153,7 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}" ...@@ -153,7 +153,7 @@ ruleflow-group "${logicName+deLogicNode.getCodeName()?lower_case}"
<#assign targetEntity=deLogicNode.getDstPSDataEntity()> <#assign targetEntity=deLogicNode.getDstPSDataEntity()>
<#assign targetAction=deLogicNode.getDstPSDEAction()> <#assign targetAction=deLogicNode.getDstPSDEAction()>
for(JSONObject entity:entities){ for(JSONObject entity:entities){
${pub.getPKGCodeName()}.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName} targetEntity =new ${pub.getPKGCodeName()}.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName}(); ${pub.getPKGCodeName()}.core.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName} targetEntity =new ${pub.getPKGCodeName()}.core.${targetEntity.getPSSystemModule().codeName?lower_case}.domain.${targetEntity.codeName}();
for (Map.Entry<String,Object> entry : entity.entrySet()) { for (Map.Entry<String,Object> entry : entity.entrySet()) {
targetEntity.set(entry.getKey(),entry.getValue()); targetEntity.set(entry.getKey(),entry.getValue());
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册