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

补充索引属性映射

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