tree表的parentCode也支持bigint类型
This commit is contained in:
@@ -135,7 +135,7 @@
|
|||||||
<dict value="java.util.Date" label="Date"/>
|
<dict value="java.util.Date" label="Date"/>
|
||||||
<dict value="com.jeesite.modules.sys.entity.User" label="User"/>
|
<dict value="com.jeesite.modules.sys.entity.User" label="User"/>
|
||||||
<dict value="com.jeesite.modules.sys.entity.Office" label="Office"/>
|
<dict value="com.jeesite.modules.sys.entity.Office" label="Office"/>
|
||||||
<dict value="This" label="This" description="生成当前对象"/>
|
<dict value="Parent" label="Parent" description="生成父对象"/>
|
||||||
</attrType>
|
</attrType>
|
||||||
<!-- 查询类型 -->
|
<!-- 查询类型 -->
|
||||||
<queryType>
|
<queryType>
|
||||||
|
|||||||
@@ -64,6 +64,11 @@ import com.jeesite.common.utils.excel.annotation.ExcelFields;
|
|||||||
}
|
}
|
||||||
// ● 如果是TreeEntity类属性
|
// ● 如果是TreeEntity类属性
|
||||||
}else if(table.isTreeEntity && c.isTreeEntityColumn){
|
}else if(table.isTreeEntity && c.isTreeEntityColumn){
|
||||||
|
if(c.columnName == 'parent_code'){
|
||||||
|
%>
|
||||||
|
@Column(name="${c.columnName}", attrName="${c.attrName}", label="${c.columnLabel}", isParentCode=true),
|
||||||
|
<%
|
||||||
|
}
|
||||||
if(!isTree){
|
if(!isTree){
|
||||||
isTree = true;
|
isTree = true;
|
||||||
%>
|
%>
|
||||||
|
|||||||
@@ -64,6 +64,11 @@ import com.jeesite.common.utils.excel.annotation.ExcelFields;
|
|||||||
}
|
}
|
||||||
// ● 如果是TreeEntity类属性
|
// ● 如果是TreeEntity类属性
|
||||||
}else if(table.isTreeEntity && c.isTreeEntityColumn){
|
}else if(table.isTreeEntity && c.isTreeEntityColumn){
|
||||||
|
if(c.columnName == 'parent_code'){
|
||||||
|
%>
|
||||||
|
@Column(name="${c.columnName}", attrName="${c.attrName}", label="${c.columnLabel}", isParentCode=true),
|
||||||
|
<%
|
||||||
|
}
|
||||||
if(!isTree){
|
if(!isTree){
|
||||||
isTree = true;
|
isTree = true;
|
||||||
%>
|
%>
|
||||||
|
|||||||
Reference in New Issue
Block a user