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

补充索引属性映射

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