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

外键值附加数据值填充

上级 c609cfaf
...@@ -448,7 +448,7 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa ...@@ -448,7 +448,7 @@ public class ${item.getCodeName()}ServiceImpl extends ServiceImpl<${de.getCodeNa
<#assign MajorKeyFieldCodeName =srfcaseformat(MinorPSDER.getPSPickupDEField().codeName,'l_u2lC')?cap_first> <#assign MajorKeyFieldCodeName =srfcaseformat(MinorPSDER.getPSPickupDEField().codeName,'l_u2lC')?cap_first>
//实体关系[${MinorPSDER.getLogicName()}] //实体关系[${MinorPSDER.getLogicName()}]
if(!ObjectUtils.isEmpty(et.get${MajorKeyFieldCodeName}())){ if(!ObjectUtils.isEmpty(et.get${MajorKeyFieldCodeName}())){
${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.getAllPSDEFields() as defield> <#list de.getAllPSDEFields() as defield>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册