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

补充索引属性映射

上级 28409866
......@@ -54,7 +54,7 @@ public interface ${de.codeName}InheritMapping {
<#assign majorDEField=indexFieldmapping.getMajorPSDEField()>
<#assign MinorDEField=indexFieldmapping.getMinorPSDEField()>
<#comment>排除主键及主文本属性</#comment>
<#if majorDEField?? && MinorDEField?? && majorDEField.isKeyDEField==false && MinorDEField.isKeyDEField==false && majorDEField.isMajorDEField==false && MinorDEField.isMajorDEField==false>
<#if indexFieldmapping.getMajorPSDEField()?? && indexFieldmapping.getMinorPSDEField()?? && majorDEField.isKeyDEField==false && MinorDEField.isKeyDEField==false && majorDEField.isMajorDEField==false && MinorDEField.isMajorDEField==false>
@Mapping(source ="${srfcaseformat(MinorDEField.codeName,'l_u2lC')}",target = "${srfcaseformat(majorDEField.codeName,'l_u2lC')}"),
</#if>
</#list>
......@@ -70,7 +70,7 @@ public interface ${de.codeName}InheritMapping {
<#assign majorDEField=indexFieldmapping.getMajorPSDEField()>
<#assign MinorDEField=indexFieldmapping.getMinorPSDEField()>
<#comment>排除主键及主文本属性</#comment>
<#if majorDEField?? && MinorDEField?? && majorDEField.isKeyDEField==false && MinorDEField.isKeyDEField==false && majorDEField.isMajorDEField==false && MinorDEField.isMajorDEField==false>
<#if indexFieldmapping.getMajorPSDEField()?? && indexFieldmapping.getMinorPSDEField()?? && majorDEField.isKeyDEField==false && MinorDEField.isKeyDEField==false && majorDEField.isMajorDEField==false && MinorDEField.isMajorDEField==false>
@Mapping(source ="${srfcaseformat(majorDEField.codeName,'l_u2lC')}",target = "${srfcaseformat(MinorDEField.codeName,'l_u2lC')}"),
</#if>
</#list>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册