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

es支持

上级 a8210611
...@@ -22,6 +22,7 @@ public class ${item.codeName} implements Serializable { ...@@ -22,6 +22,7 @@ public class ${item.codeName} implements Serializable {
<#if de.getPSDEFields()??> <#if de.getPSDEFields()??>
<#comment>输出实体属性</#comment> <#comment>输出实体属性</#comment>
<#list de.getPSDEFields() as defield> <#list de.getPSDEFields() as defield>
<#if defield.isPhisicalDEField()==true>
<#assign privateCodeName = srfcaseformat(defield.getCodeName(),'l_u2lC') > <#assign privateCodeName = srfcaseformat(defield.getCodeName(),'l_u2lC') >
<#assign javaType=srfr7javatype(defield.getStdDataType())> <#assign javaType=srfr7javatype(defield.getStdDataType())>
<#assign esType="FieldType.Text"> <#assign esType="FieldType.Text">
...@@ -40,6 +41,7 @@ public class ${item.codeName} implements Serializable { ...@@ -40,6 +41,7 @@ public class ${item.codeName} implements Serializable {
@Field(type = ${esType}) @Field(type = ${esType})
</#if> </#if>
private ${javaType} ${privateCodeName}; private ${javaType} ${privateCodeName};
</#if>
</#list> </#list>
</#if> </#if>
} }
......
...@@ -14,7 +14,6 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -14,7 +14,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Lazy;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl; import org.springframework.data.domain.PageImpl;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册