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

恢复

上级 880a11ee
...@@ -451,21 +451,21 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa ...@@ -451,21 +451,21 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
${pub.getPKGCodeName()}.core.${MajorEntity.getPSSystemModule().getCodeName()?lower_case}.domain.${MajorEntity.getCodeName()} ${MajorEntityName}=et.get${MajorEntityName?cap_first}(); ${pub.getPKGCodeName()}.core.${MajorEntity.getPSSystemModule().getCodeName()?lower_case}.domain.${MajorEntity.getCodeName()} ${MajorEntityName}=et.get${MajorEntityName?cap_first}();
if(!ObjectUtils.isEmpty(${MajorEntityName})){ if(!ObjectUtils.isEmpty(${MajorEntityName})){
<#comment>找出当前关系的外键值文本及附加数据字段</#comment> <#comment>找出当前关系的外键值文本及附加数据字段</#comment>
<#list de.getPSDEFieldsByDER(MinorPSDER.name) as defield > <#--<#list de.getPSDEFieldsByDER(MinorPSDER.name) as defield >-->
<#if (((defield.getDataType())!'')!='PICKUP')> <#--<#if (((defield.getDataType())!'')!='PICKUP')>-->
<#assign minorFieldCodeName = srfcaseformat(defield.getCodeName(),'l_u2lC')?cap_first >
<#assign majorFieldCodeName = srfcaseformat(defield.getRelatedPSDEField().getCodeName(),'l_u2lC')?cap_first >
//test
et.set${minorFieldCodeName}(${MajorEntityName}.get${majorFieldCodeName}());
</#if>
</#list>
<#--<#list de.getAllPSDEFields() as defield>-->
<#--<#if defield.getPSDER1N?? && defield.getPSDER1N()?? && defield.getPSDER1N().name==MinorPSDER.name && (((defield.getDataType())!'')!='PICKUP')>-->
<#--<#assign minorFieldCodeName = srfcaseformat(defield.getCodeName(),'l_u2lC')?cap_first >--> <#--<#assign minorFieldCodeName = srfcaseformat(defield.getCodeName(),'l_u2lC')?cap_first >-->
<#--<#assign majorFieldCodeName = srfcaseformat(defield.getRelatedPSDEField().getCodeName(),'l_u2lC')?cap_first >--> <#--<#assign majorFieldCodeName = srfcaseformat(defield.getRelatedPSDEField().getCodeName(),'l_u2lC')?cap_first >-->
<#--//test-->
<#--et.set${minorFieldCodeName}(${MajorEntityName}.get${majorFieldCodeName}());--> <#--et.set${minorFieldCodeName}(${MajorEntityName}.get${majorFieldCodeName}());-->
<#--</#if>--> <#--</#if>-->
<#--</#list>--> <#--</#list>-->
<#list de.getAllPSDEFields() as defield>
<#if defield.getPSDER1N?? && defield.getPSDER1N()?? && defield.getPSDER1N().name==MinorPSDER.name && (((defield.getDataType())!'')!='PICKUP')>
<#assign minorFieldCodeName = srfcaseformat(defield.getCodeName(),'l_u2lC')?cap_first >
<#assign majorFieldCodeName = srfcaseformat(defield.getRelatedPSDEField().getCodeName(),'l_u2lC')?cap_first >
et.set${minorFieldCodeName}(${MajorEntityName}.get${majorFieldCodeName}());
</#if>
</#list>
} }
} }
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册