Skip to content

Commit

Permalink
更新多对多prop生成,view中的col增加ui:number=true
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Dec 30, 2024
1 parent 5836430 commit 8d88890
Show file tree
Hide file tree
Showing 23 changed files with 87 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@
</schema>
</prop>
<prop name="relatedGroupList" displayName="relatedGroupList" insertable="true" updatable="true"
depends="~groupMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~groupMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthGroup"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getGroupMappings(), "group");
entity["groupMappings"], "group");
</getter>
</prop>
<prop name="relatedGroupList_ids" displayName="relatedGroupList" insertable="true" updatable="true"
Expand All @@ -142,12 +142,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getGroupMappings(), "group");
entity["groupMappings"], "group");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getGroupMappings(), "group",value);
entity["groupMappings"], "group",value);
</setter>
</prop>
<prop name="relatedGroupList_label" displayName="relatedGroupList" internal="true" depends="~groupMappings"
Expand All @@ -156,7 +156,7 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getGroupMappings(), "group");
entity["groupMappings"], "group");
</getter>
</prop>
</props>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@
</schema>
</prop>
<prop name="relatedDeptList" displayName="relatedDeptList" insertable="true" updatable="true"
depends="~deptMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~deptMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthDept"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getDeptMappings(), "dept");
entity["deptMappings"], "dept");
</getter>
</prop>
<prop name="relatedDeptList_ids" displayName="relatedDeptList" insertable="true" updatable="true"
Expand All @@ -128,12 +128,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getDeptMappings(), "dept");
entity["deptMappings"], "dept");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getDeptMappings(), "dept",value);
entity["deptMappings"], "dept",value);
</setter>
</prop>
<prop name="relatedDeptList_label" displayName="relatedDeptList" internal="true" depends="~deptMappings"
Expand All @@ -142,18 +142,18 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getDeptMappings(), "dept");
entity["deptMappings"], "dept");
</getter>
</prop>
<prop name="relatedUserList" displayName="relatedUserList" insertable="true" updatable="true"
depends="~userMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~userMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthUser"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getUserMappings(), "user");
entity["userMappings"], "user");
</getter>
</prop>
<prop name="relatedUserList_ids" displayName="relatedUserList" insertable="true" updatable="true"
Expand All @@ -164,12 +164,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getUserMappings(), "user");
entity["userMappings"], "user");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getUserMappings(), "user",value);
entity["userMappings"], "user",value);
</setter>
</prop>
<prop name="relatedUserList_label" displayName="relatedUserList" internal="true" depends="~userMappings"
Expand All @@ -178,7 +178,7 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getUserMappings(), "user");
entity["userMappings"], "user");
</getter>
</prop>
</props>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,14 @@
<schema type="io.nop.orm.component.JsonOrmComponent"/>
</prop>
<prop name="relatedRoleList" displayName="relatedRoleList" insertable="true" updatable="true"
depends="~roleMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~roleMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthRole"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getRoleMappings(), "role");
entity["roleMappings"], "role");
</getter>
</prop>
<prop name="relatedRoleList_ids" displayName="relatedRoleList" insertable="true" updatable="true"
Expand All @@ -204,12 +204,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getRoleMappings(), "role");
entity["roleMappings"], "role");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getRoleMappings(), "role",value);
entity["roleMappings"], "role",value);
</setter>
</prop>
<prop name="relatedRoleList_label" displayName="relatedRoleList" internal="true" depends="~roleMappings"
Expand All @@ -218,7 +218,7 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getRoleMappings(), "role");
entity["roleMappings"], "role");
</getter>
</prop>
</props>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@
</schema>
</prop>
<prop name="relatedUserList" displayName="relatedUserList" insertable="true" updatable="true"
depends="~userMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~userMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthUser"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getUserMappings(), "user");
entity["userMappings"], "user");
</getter>
</prop>
<prop name="relatedUserList_ids" displayName="relatedUserList" insertable="true" updatable="true"
Expand All @@ -101,12 +101,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getUserMappings(), "user");
entity["userMappings"], "user");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getUserMappings(), "user",value);
entity["userMappings"], "user",value);
</setter>
</prop>
<prop name="relatedUserList_label" displayName="relatedUserList" internal="true" depends="~userMappings"
Expand All @@ -115,18 +115,18 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getUserMappings(), "user");
entity["userMappings"], "user");
</getter>
</prop>
<prop name="relatedResourceList" displayName="relatedResourceList" insertable="true" updatable="true"
depends="~resourceMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~resourceMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthResource"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getResourceMappings(), "resource");
entity["resourceMappings"], "resource");
</getter>
</prop>
<prop name="relatedResourceList_ids" displayName="relatedResourceList" insertable="true" updatable="true"
Expand All @@ -137,12 +137,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getResourceMappings(), "resource");
entity["resourceMappings"], "resource");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getResourceMappings(), "resource",value);
entity["resourceMappings"], "resource",value);
</setter>
</prop>
<prop name="relatedResourceList_label" displayName="relatedResourceList" internal="true"
Expand All @@ -151,7 +151,7 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getResourceMappings(), "resource");
entity["resourceMappings"], "resource");
</getter>
</prop>
</props>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,14 @@
<schema type="io.nop.api.core.beans.file.FileStatusBean"/>
</prop>
<prop name="relatedRoleList" displayName="relatedRoleList" insertable="true" updatable="true"
depends="~roleMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~roleMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthRole"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getRoleMappings(), "role");
entity["roleMappings"], "role");
</getter>
</prop>
<prop name="relatedRoleList_ids" displayName="relatedRoleList" insertable="true" updatable="true"
Expand All @@ -249,12 +249,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getRoleMappings(), "role");
entity["roleMappings"], "role");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getRoleMappings(), "role",value);
entity["roleMappings"], "role",value);
</setter>
</prop>
<prop name="relatedRoleList_label" displayName="relatedRoleList" internal="true" depends="~roleMappings"
Expand All @@ -263,18 +263,18 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getRoleMappings(), "role");
entity["roleMappings"], "role");
</getter>
</prop>
<prop name="relatedGroupList" displayName="relatedGroupList" insertable="true" updatable="true"
depends="~groupMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete,insertable,updatable" depends="~groupMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopAuthGroup"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getGroupMappings(), "group");
entity["groupMappings"], "group");
</getter>
</prop>
<prop name="relatedGroupList_ids" displayName="relatedGroupList" insertable="true" updatable="true"
Expand All @@ -285,12 +285,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getGroupMappings(), "group");
entity["groupMappings"], "group");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getGroupMappings(), "group",value);
entity["groupMappings"], "group",value);
</setter>
</prop>
<prop name="relatedGroupList_label" displayName="relatedGroupList" internal="true" depends="~groupMappings"
Expand All @@ -299,7 +299,7 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getGroupMappings(), "group");
entity["groupMappings"], "group");
</getter>
</prop>
</props>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<cols>
<c:for var="prop" items="${visibleProps}">
<c:out escape="none"><![CDATA[<!-- ${prop.displayName?.$safeXmlComment()} -->]]></c:out>
<col id="${prop.name}" mandatory="${prop.mandatory ? true: null}" ui:number="${prop.stdDataType.numericType?true:null}"
<col id="${prop.name}" mandatory="${prop.mandatory ? true: null}" ui:number="${prop.stdDataType?.numericType?true:null}"
sortable="${prop.sortable?true:null}" x:abstract="${listProps.contains(prop)?null:true}"/>
</c:for>
</cols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@
</schema>
</prop>
<prop name="relatedModuleList" displayName="relatedModuleList" insertable="false" updatable="false"
depends="~moduleMappings" internal="true" lazy="true">
tagSet="pub,cascade-delete" depends="~moduleMappings" internal="true" lazy="true">
<schema>
<item bizObjName="NopDynModule"/>
</schema>
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefProps(
entity.getModuleMappings(), "module");
entity["moduleMappings"], "module");
</getter>
</prop>
<prop name="relatedModuleList_ids" displayName="relatedModuleList" insertable="false" updatable="false"
Expand All @@ -97,12 +97,12 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getRefIds(
entity.getModuleMappings(), "module");
entity["moduleMappings"], "module");
</getter>
<setter>
import io.nop.orm.support.OrmEntityHelper;
OrmEntityHelper.setRefIds(
entity.getModuleMappings(), "module",value);
entity["moduleMappings"], "module",value);
</setter>
</prop>
<prop name="relatedModuleList_label" displayName="relatedModuleList" internal="true" depends="~moduleMappings"
Expand All @@ -111,7 +111,7 @@
<getter>
import io.nop.orm.support.OrmEntityHelper;
return OrmEntityHelper.getLabelForRefProps(
entity.getModuleMappings(), "module");
entity["moduleMappings"], "module");
</getter>
</prop>
</props>
Expand Down
Loading

0 comments on commit 8d88890

Please sign in to comment.