Commit 752cfcc7 by 王炜晨

支持查询组件

parent 3e572a4b
......@@ -123,6 +123,7 @@ dependencies {
compile lib.hibernate_common_annotations
compile lib.net_byte_buddy
compile lib.bcp_authc
compile lib.bcp_advanced_query
compile lib.bcp_import
compile lib.json
compile "com.beecode:inz.authmgr:${inzVersion}"
......
......@@ -123,6 +123,7 @@ ext {
bcp_user: "com.beecode:bcp.user:${aminoVersion}",
bcp_workflow: "com.beecode:bcp.workflow:${aminoVersion}",
bcp_workflow_task: "com.beecode:bcp.workflow.task:${aminoVersion}",
bcp_advanced_query: "com.beecode:bcp.advanced.query:${aminoVersion}",
/*bap2*/
bap2_attachment: "com.beecode:bap2.attachment:${bap2Version}",
......@@ -309,6 +310,7 @@ configurations.all {
force lib.bcp_user
force lib.bcp_workflow
force lib.bcp_workflow_task
force lib.bcp_advanced_query
/*bap2*/
force lib.bap2_attachment
......
......@@ -7,10 +7,30 @@
<description>存储地图数据的表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_basis_basis_map</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
</m:parents>
......@@ -21,6 +41,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>title</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>23538daf-d00f-45a5-a5ae-ca03b0664ceb</m:id>
<m:name>title</m:name>
......@@ -30,7 +59,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>e5a354bf-37ad-41da-8325-1a229df23230</m:id>
<m:name>projectId</m:name>
<m:title>项目id</m:title>
......@@ -44,6 +83,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_title</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>f2d5ec9f-b359-4dd6-8965-eb25eb067036</m:id>
<m:name>projectTitle</m:name>
......@@ -53,7 +101,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ec20774d-a14f-4c4f-a44a-2e29b0db1886</m:id>
<m:name>description</m:name>
<m:title>备注</m:title>
......@@ -62,7 +120,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>config_info</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a2fb1eff-29e5-4be3-995b-a31770dd3d72</m:id>
<m:name>configInfo</m:name>
<m:title>配置信息</m:title>
......@@ -71,7 +139,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>map_info</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ffe283c7-569e-4c97-badd-bd9a330e49b5</m:id>
<m:name>mapInfo</m:name>
<m:title>地图信息</m:title>
......@@ -80,7 +158,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>discard</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6dbd5634-92c9-48d0-acbd-8a82c77212b3</m:id>
<m:name>discard</m:name>
<m:title>是否废弃</m:title>
......@@ -89,7 +177,17 @@
<m:default>false</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>del</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>57bac181-cd30-4ca7-921d-75d04b09bfb4</m:id>
<m:name>del</m:name>
<m:title>是否删除</m:title>
......
......@@ -7,10 +7,31 @@
<description>存储地图数据的表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_basis_map_data</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -18,6 +39,22 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>dab1eecc-45da-457a-8331-e85e9d6090a6</m:id>
<m:name>id</m:name>
......@@ -32,6 +69,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>title</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>af3dc128-d246-411d-bb4a-3316efbb8b90</m:id>
<m:name>title</m:name>
......@@ -41,7 +87,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a30facc5-1bb0-45c3-9950-b4797ad7a582</m:id>
<m:name>projectId</m:name>
<m:title>项目id</m:title>
......@@ -55,6 +111,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_title</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>068b3325-e9d9-40ab-8e23-43e147195b1f</m:id>
<m:name>projectTitle</m:name>
......@@ -64,7 +129,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>03c36931-2422-4bb8-8d99-976814ef63fd</m:id>
<m:name>description</m:name>
<m:title>备注</m:title>
......@@ -73,7 +148,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>configInfo</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>1b18c712-af71-4eb1-b8f4-92a31c9430d0</m:id>
<m:name>configInfo</m:name>
<m:title>配置信息</m:title>
......@@ -82,7 +167,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>mapInfo</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6975cca4-2d8c-419d-b227-edd97995b642</m:id>
<m:name>mapInfo</m:name>
<m:title>地图信息</m:title>
......
......@@ -7,10 +7,31 @@
<description>存储模板管理详情的表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_basis_template_manage_detail</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -18,6 +39,22 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8c418f1b-bcb5-42f5-ae71-281192ebe424</m:id>
<m:name>id</m:name>
......@@ -27,7 +64,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cc4f194f-d8df-4a1d-8cca-4821b5c37721</m:id>
<m:name>projectId</m:name>
<m:title>项目id</m:title>
......@@ -41,6 +88,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_title</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ff98d4d9-dbc2-4270-8f44-ae24e95458af</m:id>
<m:name>projectTitle</m:name>
......@@ -50,7 +106,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>group_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>2ec150e0-e51a-4e0d-8a3d-889efbac9b52</m:id>
<m:name>groupId</m:name>
<m:title>分组id</m:title>
......@@ -59,7 +125,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>template_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7875e865-8f9e-4d10-9de5-236005bf07b4</m:id>
<m:name>templateId</m:name>
<m:title>附件id</m:title>
......
......@@ -6,9 +6,29 @@
<title>合同编号数据模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_basis_customer_sequence_serial</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -17,6 +37,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>f20cb9ff-1dbb-11eb-9351-00ff6719e94c</m:id>
<m:name>name</m:name>
......
......@@ -6,13 +6,50 @@
<title>产业园区数据模型基础模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Column</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Inheritance</dependency>
<dependency>javax.persistence.MappedSuperclass</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.MappedSuperclass</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Inheritance</m:type>
<m:properties>
<m:property>
<m:key>strategy</m:key>
<m:value>TABLE_PER_CLASS</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>pic</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0241aefa-0483-4f8d-b6fa-76661db61ca8</m:id>
<m:name>pic</m:name>
<m:title>负责人</m:title>
......@@ -21,7 +58,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>discard</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>d487e184-ce4a-46f4-b655-c04bd25b6aaa</m:id>
<m:name>discard</m:name>
<m:title>是否废弃</m:title>
......@@ -30,7 +77,17 @@
<m:default>false</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>del</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6ad04f35-321f-4a02-b7fe-6d9220bbc5ce</m:id>
<m:name>del</m:name>
<m:title>是否删除</m:title>
......@@ -39,7 +96,17 @@
<m:default>false</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>approve_state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ef4969c7-28b6-4cdb-b052-9af3b072ca87</m:id>
<m:name>approveState</m:name>
<m:title>审批状态</m:title>
......
......@@ -6,14 +6,52 @@
<title>相关团队基模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_follower_base</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>4e754b91-7c20-49c8-ba68-c57df61d7fb2</m:id>
<m:name>id</m:name>
<m:title>id</m:title>
......@@ -27,6 +65,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>role</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>d487e184-ce4a-46f4-b655-c04bd25b6aaa</m:id>
<m:name>role</m:name>
......@@ -36,7 +83,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>member_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>50bc7620-37fe-4ef9-ab6d-d6973d55d1d7</m:id>
<m:name>member</m:name>
<m:title>成员</m:title>
......@@ -45,7 +109,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>read_only</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b3863cdd-f92b-4318-ac3b-23d6019509c4</m:id>
<m:name>readonly</m:name>
<m:title>是否只读</m:title>
......
......@@ -6,15 +6,45 @@
<title>产业工作业务特征数据模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Column</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Inheritance</dependency>
<dependency>javax.persistence.MappedSuperclass</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.WorkflowRequirent</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.MappedSuperclass</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Inheritance</m:type>
<m:properties>
<m:property>
<m:key>strategy</m:key>
<m:value>TABLE_PER_CLASS</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.WorkflowRequirent</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>approval_state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>dc18f851-bae3-4344-87b1-3877f6af05eb</m:id>
<m:name>approvalState</m:name>
<m:title>审批状态</m:title>
......
......@@ -6,12 +6,33 @@
<title>销售记录基模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.SalesRecordDictModel</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_sales_record_base</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -19,6 +40,22 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ac2ad744-6fa3-4b46-ab03-c706ba449e32</m:id>
<m:name>id</m:name>
......@@ -32,6 +69,22 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>type_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>e22ec4ff-fea8-40b4-b83a-ef7450a0f0f4</m:id>
<m:name>type</m:name>
......@@ -46,6 +99,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100000</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>content</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>abeec2c3-53dd-44f0-af80-8ec4077cb74d</m:id>
<m:name>content</m:name>
......@@ -55,7 +117,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>create_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>9ba9ac33-9279-41c3-83aa-e41c177166e1</m:id>
<m:name>create_time</m:name>
<m:title>创建时间</m:title>
......@@ -64,7 +136,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>creator_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>764c7e6d-f931-4e13-9d94-b4a0bb617761</m:id>
<m:name>creator</m:name>
<m:title>创建人</m:title>
......@@ -78,6 +167,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>tag</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>92b7711c-2268-4c0a-a79f-54b4b6e13632</m:id>
<m:name>tag</m:name>
......@@ -92,6 +190,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>mark</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>374883d0-3ab4-40d7-8292-9474746e1ddb</m:id>
<m:name>mark</m:name>
......
......@@ -6,9 +6,29 @@
<title>销售记录类型字典模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bcp.dict.datamodel.BasicDictRequirement</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_sales_record_dict_model</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</m:parent>
</m:parents>
......
{
"dictName": "com.xyst.dinas.biz.datamodel.Organization",
"dictName": "com.xyst.dinas.biz.datamodel.xystOrganization",
"data":
{
"name": "汉鑫砂石集团",
......
......@@ -6,15 +6,53 @@
<title>MessageInfo</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>javax.persistence.Id</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_message_info</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cf327185-f4ff-4aae-b41d-4e2f665abade</m:id>
<m:name>id</m:name>
<m:title>消息主键</m:title>
......@@ -28,6 +66,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>1000</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>content</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>035da248-964f-4b59-9e0c-e9909e230af1</m:id>
<m:name>content</m:name>
......@@ -42,6 +89,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>source_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>173193a2-e62b-4c34-b5d8-4af581404fff</m:id>
<m:name>sourceType</m:name>
......@@ -51,7 +107,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>sender_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6c05c148-55d5-4025-a86c-d713cfdfd5c4</m:id>
<m:name>sender</m:name>
<m:title>发送者</m:title>
......@@ -60,7 +133,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>sender_info</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8f9e7d83-831f-49e4-96be-22481fe38a4c</m:id>
<m:name>senderInfo</m:name>
<m:title>发送者对象</m:title>
......@@ -69,7 +152,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>create_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>90efef09-ec9e-4a8b-bcc8-e56f04d9659f</m:id>
<m:name>createTime</m:name>
<m:title>创建时间</m:title>
......@@ -86,6 +179,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>1406ace1-f33b-4a95-bf6c-6bae0d8b24a9</m:id>
<m:name>type</m:name>
......@@ -100,6 +202,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>40</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>part_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>52463eb0-8e3a-4317-af0d-0049ac3509ce</m:id>
<m:name>partId</m:name>
......@@ -109,7 +220,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>is_query</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b43fbbe5-c0ed-4916-b250-1fe2dbf034ce</m:id>
<m:name>isQuery</m:name>
<m:title>查看状态</m:title>
......@@ -123,6 +244,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>tenant_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a0ae4a7f-267c-4881-8b84-d445f133f945</m:id>
<m:name>tenantId</m:name>
......
......@@ -6,10 +6,31 @@
<title>提醒参与者关系表</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_remind_participator</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -21,6 +42,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>participate_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>9fb21c76-352f-4dfa-8f0a-f98db4fffe0b</m:id>
<m:name>participateType</m:name>
......@@ -38,6 +68,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>participator_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7a8acc00-2728-4260-8f16-b74298c95244</m:id>
<m:name>participateId</m:name>
......@@ -55,6 +94,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>remind_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>243be961-64c9-4590-9181-a71ff8f295aa</m:id>
<m:name>remindId</m:name>
......@@ -64,7 +112,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0066a357-5030-48c6-b9a8-0edfd97105d2</m:id>
<m:name>id</m:name>
<m:title>提醒关系表主键</m:title>
......
......@@ -7,11 +7,32 @@
<description>提醒表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_remind</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -19,6 +40,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>remind_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>4ea0d408-6f70-48b9-b3e7-4f20693128bb</m:id>
<m:name>remindTime</m:name>
......@@ -33,6 +63,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>400</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>remind_content</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a5c2f4dc-fc3c-4102-9bec-e66dc7f8f92c</m:id>
<m:name>remindContent</m:name>
......@@ -47,6 +86,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>source_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>5fee0ed5-e6c2-4a81-b0c6-aac6ced7559e</m:id>
<m:name>sourceType</m:name>
......@@ -56,7 +104,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>sender_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6c05c148-55d5-4025-a86c-d713cfdfd5c4</m:id>
<m:name>sender</m:name>
<m:title>发送者</m:title>
......@@ -65,7 +130,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>create_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>82f4afbd-1897-4dd0-986b-4921fc9519fd</m:id>
<m:name>createTime</m:name>
<m:title>创建时间</m:title>
......@@ -79,6 +154,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>400</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>data</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>fab558c0-2bf0-4d49-9ccc-3c0808e2775c</m:id>
<m:name>data</m:name>
......@@ -96,6 +180,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>look_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cb9fa579-1708-4c75-b047-3bbfe6e2bded</m:id>
<m:name>lookType</m:name>
......@@ -110,6 +203,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>look_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6c789586-b703-472b-98a1-28ed13463c17</m:id>
<m:name>lookName</m:name>
......@@ -119,7 +221,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>5183c1c0-2ff7-41d5-94fb-fda377821ae9</m:id>
<m:name>id</m:name>
<m:title>提醒主键</m:title>
......@@ -133,6 +252,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>9922b651-a3fa-42ec-843e-33e1ea7e8f3f</m:id>
<m:name>state</m:name>
......@@ -142,7 +270,17 @@
<m:default>CREATED</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>business_info</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>00b558c0-2bf0-4d49-9ccc-3c0808e27700</m:id>
<m:name>businessInfo</m:name>
<m:title>提醒相关的业务信息</m:title>
......
......@@ -7,16 +7,53 @@
<description>提醒设置信息表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_remindsettingsinfo</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>pic</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0241aefa-0483-4f8d-b6fa-76661db61ca8</m:id>
<m:name>pic</m:name>
<m:title>负责人</m:title>
......@@ -25,7 +62,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>discard</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>d487e184-ce4a-46f4-b655-c04bd25b6aaa</m:id>
<m:name>discard</m:name>
<m:title>是否废弃</m:title>
......@@ -34,7 +81,17 @@
<m:default>false</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>del</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6ad04f35-321f-4a02-b7fe-6d9220bbc5ce</m:id>
<m:name>del</m:name>
<m:title>是否删除</m:title>
......@@ -43,7 +100,17 @@
<m:default>false</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>approve_state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ef4969c7-28b6-4cdb-b052-9af3b072ca87</m:id>
<m:name>approveState</m:name>
<m:title>审批状态</m:title>
......@@ -52,7 +119,17 @@
<m:default>0</m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>remind_definitionid</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>00c2f4dc-fc3c-4102-9bec-e66dc7f8f92c</m:id>
<m:name>remindDefinitionId</m:name>
<m:title>提醒定义标识</m:title>
......@@ -61,7 +138,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>biztype_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>01c2f4dc-fc3c-4102-9bec-e66dc7f8f92c</m:id>
<m:name>biztypeName</m:name>
<m:title>业务类型标识</m:title>
......@@ -70,7 +157,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>trigger_actions</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>02c2f4dc-fc3c-4102-9bec-e66dc7f8f92c</m:id>
<m:name>triggerActions</m:name>
<m:title>触发动作</m:title>
......@@ -79,7 +176,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>receiver_info</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>03c2f4dc-fc3c-4102-9bec-e66dc7f8f92c</m:id>
<m:name>receiverInfo</m:name>
<m:title>接收者信息</m:title>
......
......@@ -6,10 +6,31 @@
<title>日程参与者关系表</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_schedule_participator</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -21,6 +42,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>participate_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>1bf198a6-cc8c-4cff-91f8-8a44eba2a07e</m:id>
<m:name>participateType</m:name>
......@@ -38,6 +68,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>participator_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>1bb277ae-5c81-4b9a-996d-d8c3b37ba49e</m:id>
<m:name>participateId</m:name>
......@@ -55,6 +94,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>schedule_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>4de0b818-81e2-40ad-ad44-6f615442d55e</m:id>
<m:name>scheduleId</m:name>
......@@ -64,7 +112,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7d274c36-a875-432b-9c4e-39c6202424ce</m:id>
<m:name>id</m:name>
<m:title>日程关系表主键</m:title>
......
......@@ -7,15 +7,46 @@
<description>日程</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_common_schedule</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>create_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a4aab356-296a-4356-a34e-e3e2eec1d500</m:id>
<m:name>createTime</m:name>
<m:title>创建时间</m:title>
......@@ -29,6 +60,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>400</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>schedule_content</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>dae5be66-3e5d-4b1f-a1c9-751f2d18d306</m:id>
<m:name>scheduleContent</m:name>
......@@ -38,7 +78,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>creater_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6c05c148-55d5-4025-a86c-d713cfdfd5c4</m:id>
<m:name>creater</m:name>
<m:title>创建人</m:title>
......@@ -52,6 +109,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>400</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>data</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>70cd966b-bba8-4348-af24-6ce1dea4d87a</m:id>
<m:name>data</m:name>
......@@ -69,6 +135,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>look_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>dbcb898f-6cf0-48ff-a8eb-4781c1ba4c1c</m:id>
<m:name>lookType</m:name>
......@@ -83,6 +158,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>look_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a87a902f-1f57-4c8e-bc7f-7db1264a537c</m:id>
<m:name>lookName</m:name>
......@@ -96,6 +180,15 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>schedule_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b825ca27-3a86-4ecb-bc6e-63f3fdd27742</m:id>
<m:name>scheduleTime</m:name>
......@@ -105,7 +198,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>9387e95c-c2e9-4f26-888f-9686d0d47a08</m:id>
<m:name>id</m:name>
<m:title>日程主键</m:title>
......
......@@ -20,6 +20,7 @@ import org.springframework.util.Assert;
import com.beecode.amino.core.Amino;
import com.beecode.bap.bill.WorkflowBillConstants.FlowAttributes;
import com.beecode.bap.staff.BapContext;
import com.beecode.bap.staff.service.StaffService;
import com.beecode.bap.workflow.core.BizProcess;
import com.beecode.bap.workflow.core.BizProcessState;
......@@ -82,6 +83,9 @@ public class InzWorkflowServiceImpl implements InzWorkflowService{
private CommonDao commonDao;
@Autowired
public BapContext bapContext;
@Autowired
private StaffService staffService;
@Autowired
......
......@@ -6,10 +6,30 @@
<title>审批任务</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.workflow.datamodel.CommonTask</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_workflow_approval_task</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.workflow.datamodel.CommonTask</m:parent>
</m:parents>
......@@ -20,6 +40,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>biz_object_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a9814ab9-0da5-4f1e-995f-949731413b9c</m:id>
<m:name>bizObjectName</m:name>
......@@ -34,6 +63,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>attribute1</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0f80efb9-f2cf-4d7d-a28b-41c27f75c17e</m:id>
<m:name>attribute1</m:name>
......
......@@ -6,10 +6,30 @@
<title>工作流业务流程</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.beecode.bap.workflow.datamodel.BizProcess</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_workflow_biz_process</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.workflow.datamodel.BizProcess</m:parent>
</m:parents>
......@@ -20,6 +40,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>200</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>biz_object_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0323ba57-5120-4ddc-ae3c-bc4d8d7d175a</m:id>
<m:name>bizObjectName</m:name>
......@@ -34,6 +63,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>200</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>biz_affiliation_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>be60e8a1-93c4-4b9b-9299-37f58a4c55fc</m:id>
<m:name>bizAffiliationName</m:name>
......@@ -48,6 +86,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>200</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>trigger_action</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b4cb7081-1c81-4944-ab8c-5a85db1d5539</m:id>
<m:name>triggerAction</m:name>
......
......@@ -6,10 +6,30 @@
<title>工作流流程定义</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.workflow.datamodel.BapWorkflowDefinition</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>inz_workflow_workflow_definition</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.workflow.datamodel.BapWorkflowDefinition</m:parent>
</m:parents>
......@@ -20,6 +40,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>biz_type_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>49b0da41-1b9e-42a9-a763-d4a12f22de67</m:id>
<m:name>bizTypeName</m:name>
......@@ -29,7 +58,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>definition_state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8c4a978e-4604-406a-90d4-5547ec9fa0b0</m:id>
<m:name>definitionState</m:name>
<m:title>流程状态</m:title>
......@@ -38,7 +77,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>priority</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8c4a978e-4604-406a-90d4-5547ec9fa111</m:id>
<m:name>priority</m:name>
<m:title>优先级</m:title>
......@@ -52,6 +101,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>3183fcf5-e975-4e88-a079-7d9a7bb6a999</m:id>
<m:name>description</m:name>
......@@ -66,6 +124,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>20000</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>diagram</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>3183fcf5-e975-4e88-a079-7d9a7bb6a990</m:id>
<m:name>diagram</m:name>
......@@ -75,7 +142,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>discard</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6ad04f35-321f-4a02-b7fe-6d9220bbc5ce</m:id>
<m:name>discard</m:name>
<m:title>是否废弃</m:title>
......
......@@ -2,7 +2,7 @@ package com.xyst.dinas.biz.constant;
public interface DinasOrganizationConstant {
String ORGANIZATION_ENTITY = "com.xyst.dinas.biz.datamodel.Organization";
String ORGANIZATION_ENTITY = "com.xyst.dinas.biz.datamodel.xystOrganization";
String ORGANIZATION_FOLLOWER_ENTITY = "com.xyst.dinas.biz.follower.datamodel.OrganizationFollower";
}
......@@ -47,7 +47,7 @@ public class XystDinasCommonAllScene extends FollowerQueryScene {
Map<String, String> map = bapContext.getCurrentUserDatas();
String currentRegionalCompany = map.get("currentRegionalCompany");
KClass kClass = Amino.getApplicationMetadataContext().getBean("com.xyst.dinas.biz.datamodel.Organization",
KClass kClass = Amino.getApplicationMetadataContext().getBean("com.xyst.dinas.biz.datamodel.xystOrganization",
KClass.class);
KObject regionalCompany = JSONObjectUtils.toObject(currentRegionalCompany, kClass);
return regionalCompany;
......
......@@ -9,7 +9,7 @@
<content>
<bill>
<data>
{"baseData":{"name":"Organization","title":"组织机构","billModel":"com.beecode.bap.biztrait.BasicBillBiztrait","functionLibrarys":[],"description":"组织机构","dataModel":"com.xyst.dinas.biz.datamodel.Organization"},"serial":{"serialData":[{"segment":"literal","segmentData":"EM"},{"segment":"sequence","segmentData":{"start-with":0,"increment":1,"min":0,"max":99999,"length":5,"cycle":true,"cut-direction":"left","pad-string":"0","pad-direction":"left","cache-size":10}}],"buildTime":"add"},"formula":[],"workflow":{"workflow":"","processParamConfig":[]},"print":[],"authority":[]}
{"baseData":{"name":"Organization","title":"组织机构","billModel":"com.beecode.bap.biztrait.BasicBillBiztrait","functionLibrarys":[],"description":"组织机构","dataModel":"com.xyst.dinas.biz.datamodel.xystOrganization"},"serial":{"serialData":[{"segment":"literal","segmentData":"EM"},{"segment":"sequence","segmentData":{"start-with":0,"increment":1,"min":0,"max":99999,"length":5,"cycle":true,"cut-direction":"left","pad-string":"0","pad-direction":"left","cache-size":10}}],"buildTime":"add"},"formula":[],"workflow":{"workflow":"","processParamConfig":[]},"print":[],"authority":[]}
</data>
</bill>
</content>
......
......@@ -13,7 +13,7 @@
<dataModel id='235230b3-0e48-46b9-bc48-07e750f16722' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_position'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='regionalCompany' columnName='regional_company' title='区域公司' type='com.xyst.dinas.biz.datamodel.Organization' default='' precision='' isArray='false'>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='regionalCompany' columnName='regional_company' title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision='' isArray='false'>
<annotation id='00caecc1-35aa-4342-90c8-250f84609fe4' attributeId='55efd3f5-036a-4ac4-83c9-14e22cf5465a' name='length' value='undefined'>
</annotation>
<annotation id='95a6dd6d-c676-4265-9c8b-d115c13b472f' attributeId='43768653-e259-4b0f-8c9d-8739f030675b' name='mappingType' value='many-to-one'>
......
......@@ -3,7 +3,7 @@
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.biz.datamodel</package>
<title>组织机构</title>
<name>Organization</name>
<name>xystOrganization</name>
<tags></tags>
<description>组织机构</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
......
......@@ -12,7 +12,7 @@
<content>
<dataModel id='674c5838-72de-4788-a28b-aced8abc8b7a' multiVersion='undefined' domainInherit='undefined' tableName='xyst_dinas_biz_organization_follower'>
<parent>com.beecode.inz.common.datamodel.FollowerBase</parent>
<attribute id='cc13ca13-3181-4277-b008-c1abac81c1c6' name='following' columnName='following' title='组织机构' type='com.xyst.dinas.biz.datamodel.Organization' default='' precision='' isArray='false'>
<attribute id='cc13ca13-3181-4277-b008-c1abac81c1c6' name='following' columnName='following' title='组织机构' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision='' isArray='false'>
<annotation id='f4ec7a01-60f9-4da3-b262-7503c331d6f3' attributeId='6e6fec32-e8c0-4cca-acce-6fb94301355c' name='length' value='undefined'>
</annotation>
</attribute>
......
......@@ -43,7 +43,7 @@
<type>uuid</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.Organization</name>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
</ref>
<description></description>
</field>
......@@ -52,7 +52,7 @@
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.Organization</name>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
</ref>
<description></description>
</field>
......
......@@ -9,7 +9,7 @@
</header>
<content>
<customQuery id='e9932470-2599-4a92-a1e2-1d5d418a96a3'>
<kclass>com.xyst.dinas.biz.datamodel.Organization</kclass>
<kclass>com.xyst.dinas.biz.datamodel.xystOrganization</kclass>
<authorityItem>com.xyst.dinas.biz.auth.OrganizationList</authorityItem>
<innerScene title='全部'>
<id>c1f90ec7-d48d-440f-9e04-aef646caa107</id>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>98892d1b-a01a-43ac-894e-ba5f3fa30179</id>
<id>6f146d5b-026f-4f63-990f-43330768c3ef</id>
<name>com.xyst.dinas.biz.bill.Organization$sequence</name>
<title>组织机构$sequence</title>
<description>组织机构</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>5e70b8f1-4bc2-40af-887c-90824bcdb76e</id>
<id>83021535-ea8b-479b-8b09-6511030473b4</id>
<name>com.xyst.dinas.biz.bill.Organization$serial</name>
<title>组织机构$serial</title>
<description>组织机构</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.xyst.dinas.biz.bill.Organization$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.biz.datamodel.Organization</m:input>
<m:input>com.xyst.dinas.biz.datamodel.xystOrganization</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>ccadaa8a-e128-42c6-8ff6-411866da4e7b</id>
<id>7b0c3d35-4362-4f8e-acbf-facb3000dfea</id>
<name>com.xyst.dinas.biz.bill.Organization</name>
<title>组织机构</title>
<description>组织机构</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.xyst.dinas.biz.bill.Organization$serial</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:inheritances>
<m:inheritance>
<m:biztrait>com.beecode.bap.biztrait.BasicBillBiztrait</m:biztrait>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>af14bc9b-b184-40bf-be76-c440dfcd4b23</id>
<id>d0eb677c-9dd9-4062-94e8-8ef6f377b2e8</id>
<name>com.xyst.dinas.biz.bill.Position$sequence</name>
<title>岗位$sequence</title>
<description>岗位</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>90b09720-b7aa-49db-8731-58c440ea0c0e</id>
<id>9136cf45-584f-4f85-bc33-697aa37c30d7</id>
<name>com.xyst.dinas.biz.bill.Position$serial</name>
<title>岗位$serial</title>
<description>岗位</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>20b47dd4-74b3-4c8b-877f-475d18b214ed</id>
<id>79cece8b-8812-426b-91e0-e3144b5bd721</id>
<name>com.xyst.dinas.biz.bill.Position</name>
<title>岗位</title>
<description>岗位</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>a8689e26-9636-4bf4-86cd-a222ab7ab0ea</id>
<id>3ff61b45-98aa-43d7-a1a6-8eea1bd39304</id>
<name>com.xyst.dinas.biz.bill.ShipInfo$sequence</name>
<title>船舶备案$sequence</title>
<description>船舶备案</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>b88fa486-63de-44d3-815b-b4901fba1eab</id>
<id>1d242493-86ef-4922-a236-c3db5d992ec1</id>
<name>com.xyst.dinas.biz.bill.ShipInfo$serial</name>
<title>船舶备案$serial</title>
<description>船舶备案</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>a0195bba-5b88-45f6-b573-e76d732d60e4</id>
<id>bee423f2-3a85-4393-87d0-1bc5c5be4cab</id>
<name>com.xyst.dinas.biz.bill.ShipInfo</name>
<title>船舶备案</title>
<description>船舶备案</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>ffee6a43-9515-4119-9109-2a467ddfb15c</id>
<id>36aaef91-bab0-44a7-bd71-fbba8fbb91d5</id>
<name>com.xyst.dinas.biz.bill.Station$sequence</name>
<title>场站$sequence</title>
<description>场站</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>ea91eb63-74f4-475e-a50f-91d7f7c1d2e7</id>
<id>8d5f9e6b-6e5f-4cc3-a33a-92d57a00279d</id>
<name>com.xyst.dinas.biz.bill.Station$serial</name>
<title>场站$serial</title>
<description>场站</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>41c6861b-d128-4511-8263-30e77c688b64</id>
<id>71097654-386a-4849-aa1f-299a574b4d72</id>
<name>com.xyst.dinas.biz.bill.Station</name>
<title>场站</title>
<description>场站</description>
......
......@@ -11,7 +11,7 @@
<dependency>com.xyst.dinas.biz.datamodel.Station</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<content>
<m:class>
......@@ -43,7 +43,7 @@
<m:id>cdaced8b-be3f-440e-a0f3-ce9ae701124a</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属组织机构</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......
......@@ -6,10 +6,31 @@
<title>计划周期</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>javax.persistence.Id</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_plan_cycle</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
......@@ -17,6 +38,22 @@
<m:annotation>
<m:type>bcp.type.constraint.NotNull</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Id</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>id</m:value>
</m:property>
<m:property>
<m:key>length</m:key>
<m:value>16</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>9a7f8ab8-482e-48ca-ba72-f791e4a4667e</m:id>
<m:name>id</m:name>
......@@ -26,7 +63,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>version</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>9fa44a0f-e981-4834-809d-7c608e2e8714</m:id>
<m:name>version</m:name>
<m:title>version</m:title>
......@@ -40,6 +87,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>cycle_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b2c32dc7-44e6-4af6-9a2f-234dc2c9c376</m:id>
<m:name>cycleType</m:name>
......@@ -54,6 +110,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>title</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>dd7ba47e-1b9b-4fbb-a7eb-cadbb26e2402</m:id>
<m:name>title</m:name>
......@@ -63,7 +128,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>start_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>startTime</m:name>
<m:title>开始时间</m:title>
......@@ -72,7 +147,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>end_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>endTime</m:name>
<m:title>结束时间</m:title>
......
......@@ -7,23 +7,60 @@
<description>岗位</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_position</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......@@ -33,6 +70,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>name</m:name>
......@@ -47,6 +93,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0933ceb1-f327-4372-a316-cffa1c80991a</m:id>
<m:name>description</m:name>
......
......@@ -9,7 +9,7 @@
<define-version>1.0</define-version>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.beecode.inz.basis.datamodel.WarehouseUser</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Station</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.SubTableAnnotation</dependency>
......@@ -63,7 +63,7 @@
<m:id>19f58e91-61b8-4a8d-a5e0-d530fdf38cf8</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description/>
<m:default/>
</m:attribute>
......
......@@ -11,7 +11,7 @@
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<content>
<m:class>
......@@ -25,7 +25,7 @@
<m:id>15457cfc-f82d-4e99-b143-b8cee92c9fff</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......
......@@ -11,7 +11,7 @@
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<content>
<m:class>
......@@ -76,7 +76,7 @@
<m:id>e37b2b41-5284-4af9-9cc4-32c6acfc15cd</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......
......@@ -10,7 +10,7 @@
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>com.xyst.dinas.biz.datamodel.DinasType</dependency>
<content>
......@@ -43,7 +43,7 @@
<m:id>19f58e91-61b8-4a8d-a5e0-d530fdf38cf8</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......
......@@ -6,11 +6,31 @@
<title>预警设置</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_warn_setting</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
......@@ -22,6 +42,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>bill_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>billType</m:name>
......@@ -31,7 +60,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>bill_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>billId</m:name>
<m:title>业务ID</m:title>
......@@ -45,6 +84,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>target</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>target</m:name>
......@@ -59,6 +107,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>target_type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>targetType</m:name>
......@@ -73,6 +130,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>max</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>max</m:name>
......@@ -87,6 +153,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>min</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>min</m:name>
......@@ -96,7 +171,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>is_open</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>isOpen</m:name>
<m:title>是否开启</m:title>
......@@ -110,6 +195,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>1000</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>personnel</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>personnel</m:name>
......@@ -124,6 +218,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>1000</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>memo</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>memo</m:name>
......
......@@ -6,19 +6,49 @@
<title>预警执行记录</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.xyst.dinas.biz.datamodel.WarnSetting</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_warning_exe</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>start_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>startTime</m:name>
<m:title>预警开始时间</m:title>
......@@ -27,7 +57,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>end_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>endTime</m:name>
<m:title>预警结束时间</m:title>
......@@ -36,7 +76,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>recently_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>recentlyTime</m:name>
<m:title>最近预警时间</m:title>
......@@ -45,7 +95,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>warn_setting_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>warnSetting</m:name>
<m:title>预警设置</m:title>
......@@ -59,6 +126,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>warn_state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>warnState</m:name>
......@@ -73,6 +149,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>message</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>message</m:name>
......@@ -82,7 +167,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>bill_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>billId</m:name>
<m:title>业务ID</m:title>
......@@ -96,6 +191,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>target</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>target</m:name>
......@@ -110,6 +214,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>max</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>max</m:name>
......@@ -124,6 +237,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>min</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>min</m:name>
......@@ -138,6 +260,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>1000</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>memo</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>memo</m:name>
......
......@@ -2,17 +2,37 @@
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>d9873402-6ccc-4217-89e9-eacfe3add4b7</id>
<name>com.xyst.dinas.biz.datamodel.Organization</name>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<title>组织机构</title>
<description>组织机构</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.beecode.bap.department.datamodel.Department</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_biz_organization</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
......@@ -24,6 +44,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>code</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b2c32dc7-44e6-4af6-9a2f-234dc2c9c376</m:id>
<m:name>code</m:name>
......@@ -38,6 +67,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>dd7ba47e-1b9b-4fbb-a7eb-cadbb26e2402</m:id>
<m:name>name</m:name>
......@@ -52,6 +90,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>org_ident</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>4b4a83ec-1cdb-420c-8592-641921136a89</m:id>
<m:name>orgIdent</m:name>
......@@ -66,6 +113,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>type</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>49a88511-d5f5-4732-9ca8-1b49491c46d1</m:id>
<m:name>type</m:name>
......@@ -80,6 +136,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>address</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>d3efc521-6711-4026-be71-f3082aa10702</m:id>
<m:name>address</m:name>
......@@ -94,6 +159,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>06c063c7-f066-4520-8cc5-db5e63eff1bf</m:id>
<m:name>description</m:name>
......@@ -108,6 +182,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>planning_cycle</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>55314e49-b5c9-4102-b376-d5213d2878a2</m:id>
<m:name>planningCycle</m:name>
......@@ -117,7 +200,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>department</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8a9c2549-d7fd-4874-970f-a38c7eaf4955</m:id>
<m:name>department</m:name>
<m:title>部门</m:title>
......
......@@ -6,20 +6,57 @@
<title>组织机构相关团队数据模型</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.beecode.inz.common.datamodel.FollowerBase</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_biz_organization_follower</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.inz.common.datamodel.FollowerBase</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>following</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cc13ca13-3181-4277-b008-c1abac81c1c6</m:id>
<m:name>following</m:name>
<m:title>组织机构</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......
......@@ -7,10 +7,10 @@
<description>组织机构</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem>com.xyst.dinas.biz.auth.OrganizationList</m:authorityItem>
<m:innerScenes>
......
......@@ -52,7 +52,7 @@
<m:title>区域公司id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......@@ -62,7 +62,7 @@
<m:title>区域公司名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......
......@@ -46,7 +46,7 @@
<m:title>区域公司</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......@@ -56,7 +56,7 @@
<m:title>区域公司名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......
......@@ -52,7 +52,7 @@
<m:title>区域公司</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......@@ -62,7 +62,7 @@
<m:title>区域公司名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......
......@@ -52,7 +52,7 @@
<m:title>区域公司</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......@@ -62,7 +62,7 @@
<m:title>区域公司名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......
......@@ -72,7 +72,7 @@
<m:title>所属部门id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......@@ -82,7 +82,7 @@
<m:title>所属部门名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......
......@@ -41,7 +41,7 @@
<column name="approve_state"></column>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
......
......@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping
http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd">
<class entity-name="com.xyst.dinas.biz.datamodel.Organization" table="xyst_dinas_biz_organization" optimistic-lock="version">
<class entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" table="xyst_dinas_biz_organization" optimistic-lock="version">
<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="assigned" />
......
......@@ -17,7 +17,7 @@
<property name="readonly" type="boolean" not-null="false">
<column name="readonly"></column>
</property>
<many-to-one name="following" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="following" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="following" not-null="false"/>
</many-to-one>
</class>
......
......@@ -42,7 +42,7 @@
<property name="name" type="nstring" not-null="false">
<column name="name" length="50"></column>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false"/>
</many-to-one>
<property name="description" type="nstring" not-null="false">
......
......@@ -40,7 +40,7 @@
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
......
......@@ -40,7 +40,7 @@
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属部门</comment>
</column>
......
......@@ -40,7 +40,7 @@
<column name="approve_state"></column>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
......
......@@ -40,7 +40,7 @@
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属部门</comment>
</column>
......
......@@ -11,7 +11,7 @@
<dependency>bcp.type.constraint.NotNull</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.xyst.dinas.biz.datamodel.Station</dependency>
<dependency>com.xyst.dinas.camera.dict.datamodel.CameraAccount</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
......@@ -129,7 +129,7 @@
<m:id>2b56d674-b574-428a-bc69-2c3274ee2159</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属组织机构</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......
......@@ -7,10 +7,30 @@
<description>摄像头账户表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bcp.dict.datamodel.BasicDictRequirement</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_position_camera_account</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</m:parent>
</m:parents>
......@@ -21,6 +41,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>buildin_param_fir</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>b53df0df-5ac4-4a50-a3d6-d75f6cc06e75</m:id>
<m:name>buildinParamFir</m:name>
......@@ -35,6 +64,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>buildin_param_sec</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>368d8a46-03b7-4546-ab7f-f3e9ff63e716</m:id>
<m:name>buildinParamSec</m:name>
......
......@@ -41,7 +41,7 @@
<column name="approve_state"></column>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="true">
<comment>所属组织机构</comment>
</column>
......
......@@ -143,7 +143,7 @@ public class ContractDao {
Map<String, String> map = bapContext.getCurrentUserDatas();
String currentRegionalCompany = map.get("currentRegionalCompany");
KClass kClass = Amino.getApplicationMetadataContext().getBean("com.xyst.dinas.biz.datamodel.Organization",
KClass kClass = Amino.getApplicationMetadataContext().getBean("com.xyst.dinas.biz.datamodel.xystOrganization",
KClass.class);
KObject regionalCompany = JSONObjectUtils.toObject(currentRegionalCompany, kClass);
return regionalCompany;
......
......@@ -21,7 +21,7 @@
<annotation id='ea154cb8-f939-4e9f-9793-9673d984161f' attributeId='ffc0a199-4038-4ebf-a94f-a0f12bfc76dd' name='length' value='50'>
</annotation>
</attribute>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='regionalCompany' columnName='regional_company_id' title='区域公司' type='com.xyst.dinas.biz.datamodel.Organization' default='' precision='' isArray='false'>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='regionalCompany' columnName='regional_company_id' title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision='' isArray='false'>
<annotation id='00caecc1-35aa-4342-90c8-250f84609fe4' attributeId='55efd3f5-036a-4ac4-83c9-14e22cf5465a' name='length' value='undefined'></annotation>
<annotation id='95a6dd6d-c676-4265-9c8b-d115c13b472f' attributeId='43768653-e259-4b0f-8c9d-8739f030675b' name='mappingType' value='many-to-one'></annotation>
</attribute>
......
......@@ -21,7 +21,7 @@
<annotation id='ea154cb8-f939-4e9f-9793-9673d984161f' attributeId='ffc0a199-4038-4ebf-a94f-a0f12bfc76dd' name='length' value='50'>
</annotation>
</attribute>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='regionalCompany' columnName='regional_company_id' title='区域公司' type='com.xyst.dinas.biz.datamodel.Organization' default='' precision='' isArray='false'>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='regionalCompany' columnName='regional_company_id' title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision='' isArray='false'>
<annotation id='00caecc1-35aa-4342-90c8-250f84609fe4' attributeId='55efd3f5-036a-4ac4-83c9-14e22cf5465a' name='length' value='undefined'></annotation>
<annotation id='95a6dd6d-c676-4265-9c8b-d115c13b472f' attributeId='43768653-e259-4b0f-8c9d-8739f030675b' name='mappingType' value='many-to-one'></annotation>
</attribute>
......
......@@ -71,7 +71,7 @@
<type>uuid</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.Organization</name>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
</ref>
<description></description>
</field>
......
......@@ -65,7 +65,7 @@
<type>uuid</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.Organization</name>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
</ref>
<description></description>
</field>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>6a3b7eaf-613d-42e0-abab-93ced97d18bb</id>
<id>6ff84baf-577c-473b-bce2-e1dd0cf0f971</id>
<name>com.xyst.dinas.contract.bill.ContractBill$sequence</name>
<title>合同单据$sequence</title>
<description>合同单据</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>7fff40e7-ca1e-4032-9a23-8a2c8f691112</id>
<id>4d7fefc7-7ca3-4daa-8fbf-01bc162f4196</id>
<name>com.xyst.dinas.contract.bill.ContractBill$serial</name>
<title>合同单据$serial</title>
<description>合同单据</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>7fb56835-dcd0-484e-a8f4-bb13a32e27a3</id>
<id>c13f6aaa-ea50-4ba7-a736-55ecacd0359c</id>
<name>com.xyst.dinas.contract.bill.ContractBill</name>
<title>合同单据</title>
<description>合同单据</description>
......
......@@ -6,19 +6,49 @@
<title>合同子表</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.xyst.dinas.biz.datamodel.DinasType</dependency>
<dependency>bcp.type.constraint.Numeric</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.json.JsonIgnore</dependency>
<dependency>com.xyst.dinas.contract.datamodel.Contract</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_contract_detail</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>contract_id</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>contractId</m:name>
<m:title>合同表ID</m:title>
......@@ -27,7 +57,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>dinas_type_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>dinasType</m:name>
<m:title>砂石种类</m:title>
......@@ -50,6 +97,15 @@
</m:property>
</m:properties>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>purchase_amount</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>77e202d5-a342-436c-8042-adcaa8dde410</m:id>
<m:name>purchaseAmount</m:name>
......@@ -73,6 +129,15 @@
</m:property>
</m:properties>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>dinas_amount</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>77e202d5-a342-436c-8042-adcaa8dde410</m:id>
<m:name>dinasAmount</m:name>
......@@ -96,6 +161,15 @@
</m:property>
</m:properties>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>price</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>77e202d5-a342-436c-8042-adcaa8dde410</m:id>
<m:name>price</m:name>
......@@ -119,6 +193,15 @@
</m:property>
</m:properties>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>amount</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>77e202d5-a342-436c-8042-adcaa8dde410</m:id>
<m:name>amount</m:name>
......
......@@ -7,21 +7,58 @@
<description>合同信息表</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.biz.datamodel.Organization</dependency>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>com.xyst.dinas.project.datamodel.PurchaseSandCompany</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_contract</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>project</m:name>
<m:title>项目</m:title>
......@@ -35,6 +72,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>project_code</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>projectCode</m:name>
......@@ -44,11 +90,28 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.Organization</m:type>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
......@@ -58,6 +121,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>regionalCompanyName</m:name>
......@@ -67,7 +139,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>purchase_sand_unit_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>purchaseSandUnit</m:name>
<m:title>购砂单位</m:title>
......@@ -81,6 +170,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>purchase_sand_unit_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>purchaseSandUnitName</m:name>
......@@ -95,6 +193,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>contract_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0933ceb1-f327-4372-a316-cffa1c80991a</m:id>
<m:name>contractName</m:name>
......@@ -109,6 +216,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>contract_code</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0933ceb1-f327-4372-a316-cffa1c80991a</m:id>
<m:name>contractCode</m:name>
......@@ -118,7 +234,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>current_version</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0933ceb1-f327-4372-a316-cffa1c80991a</m:id>
<m:name>currentVersion</m:name>
<m:title>版本号</m:title>
......@@ -132,6 +258,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>50</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>contract_state</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0933ceb1-f327-4372-a316-cffa1c80991a</m:id>
<m:name>contractState</m:name>
......
......@@ -81,7 +81,7 @@
<m:title>区域公司ID</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.Organization</m:name>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
......
......@@ -48,7 +48,7 @@
<property name="projectCode" type="nstring" not-null="false">
<column name="project_code" length="50"></column>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company_id" not-null="false"/>
</many-to-one>
<property name="regionalCompanyName" type="nstring" not-null="false">
......
......@@ -49,7 +49,7 @@
<property name="projectCode" type="nstring" not-null="false">
<column name="project_code" length="50"></column>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.Organization" fetch="select">
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company_id" not-null="false"/>
</many-to-one>
<property name="regionalCompanyName" type="nstring" not-null="false">
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>c1457ee7-a376-4e14-913e-0501ff898b6b</id>
<id>8aa5ffed-bdd6-4998-b14c-369842da3662</id>
<name>com.xyst.dinas.oa.bill.BusinessTripApply$sequence</name>
<title>出差申请$sequence</title>
<description>出差申请</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>28bf95b5-c295-48a7-8bc0-f81f47f7a8d3</id>
<id>3164543d-960b-48ac-adc2-973a3a13cfbd</id>
<name>com.xyst.dinas.oa.bill.BusinessTripApply$serial</name>
<title>出差申请$serial</title>
<description>出差申请</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>2a86d569-113a-41f2-a8bf-27f6cba4c28f</id>
<id>af717d42-dfeb-4747-aa68-c00886a9c6c2</id>
<name>com.xyst.dinas.oa.bill.BusinessTripApply</name>
<title>出差申请</title>
<description>出差申请</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>c3dfef2a-976c-410a-9aed-a0a5cff0b2cd</id>
<id>18208209-4638-4b36-8c3f-18a70a6a6eef</id>
<name>com.xyst.dinas.oa.bill.ProtocolDocument$sequence</name>
<title>拟文$sequence</title>
<description>拟文</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>7012dd50-ccee-48f5-850f-893816a90aed</id>
<id>3cdf65fb-d637-490a-a6bb-fbd0b4983c25</id>
<name>com.xyst.dinas.oa.bill.ProtocolDocument$serial</name>
<title>拟文$serial</title>
<description>拟文</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>15878d92-586e-4039-a206-892163da9840</id>
<id>5b4f2454-c96a-41cb-902b-aa868b58bb27</id>
<name>com.xyst.dinas.oa.bill.ProtocolDocument</name>
<title>拟文</title>
<description>拟文</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>34fc29c4-7459-46d2-99ba-9449e92b7d95</id>
<id>62716d7b-273b-4c4e-8bdf-752ec5754e54</id>
<name>com.xyst.dinas.oa.bill.SealBorrow$sequence</name>
<title>证章借出$sequence</title>
<description>证章借出</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>849d2e04-029c-4e7f-8e28-812a620b1e85</id>
<id>84f46eb1-7302-48ca-8410-74002088b7d4</id>
<name>com.xyst.dinas.oa.bill.SealBorrow$serial</name>
<title>证章借出$serial</title>
<description>证章借出</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>aceb1ae4-bc64-419a-9d11-51f48a2a5c32</id>
<id>1a30973c-50db-4714-9e1c-4a494a9e4aac</id>
<name>com.xyst.dinas.oa.bill.SealBorrow</name>
<title>证章借出</title>
<description>证章借出</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>062b6fb2-e59f-43a8-81b2-67f4f22eb8a8</id>
<id>b9decbe2-e29b-41c4-8cdc-94e704eeb03f</id>
<name>com.xyst.dinas.oa.bill.UseCarApply$sequence</name>
<title>用车申请$sequence</title>
<description>用车申请</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>7a6f7ee4-3f41-443f-b6bd-3b16a3a726c5</id>
<id>bb627098-a96a-456b-901d-080df44d5aa6</id>
<name>com.xyst.dinas.oa.bill.UseCarApply$serial</name>
<title>用车申请$serial</title>
<description>用车申请</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>766910b5-d9c1-40dc-92c4-954bb2033c81</id>
<id>c895fb2d-e606-4059-882a-8226f93514ac</id>
<name>com.xyst.dinas.oa.bill.UseCarApply</name>
<title>用车申请</title>
<description>用车申请</description>
......
......@@ -7,20 +7,57 @@
<description>出差申请</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.beecode.bap.department.datamodel.Department</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_oa_business_trip_apply</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>proposer</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>068ea147-bec9-4467-b55e-3e0a0a5400f6</m:id>
<m:name>proposer</m:name>
<m:title>申请人</m:title>
......@@ -29,7 +66,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>department</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>81f1d974-a236-4594-aee1-ef1ed645f4cb</m:id>
<m:name>department</m:name>
<m:title>所属部门</m:title>
......@@ -38,7 +92,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>apply_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>e248e6e1-d594-4cb7-b56c-4b19d3d5222d</m:id>
<m:name>applyDate</m:name>
<m:title>申请日期</m:title>
......@@ -47,7 +111,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>business_trip_start_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>851bce17-75a2-4cb3-ba8b-b846a7543f98</m:id>
<m:name>businessTripStartDate</m:name>
<m:title>出差开始时间</m:title>
......@@ -56,7 +130,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>business_trip_end_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>e02a567f-296a-4067-9a58-1b0fe08e8569</m:id>
<m:name>businessTripEndDate</m:name>
<m:title>出差结束时间</m:title>
......@@ -65,7 +149,17 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>business_trip_days</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8412f643-4587-4957-a661-4dd6547f2cbc</m:id>
<m:name>businessTripDays</m:name>
<m:title>出差天数</m:title>
......@@ -79,6 +173,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>business_trip_site</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>15c83ca8-a94c-44ed-9e9c-b964aa2661cc</m:id>
<m:name>businessTripSite</m:name>
......@@ -88,7 +191,24 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>leader</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>2fb63342-dd05-430f-b59b-2d77b09e2b11</m:id>
<m:name>leader</m:name>
<m:title>带队人</m:title>
......@@ -102,6 +222,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>leader_job_level</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>05eb0769-5280-4fc2-a434-f75dbcdad9b3</m:id>
<m:name>leaderJobLevel</m:name>
......@@ -116,6 +245,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>business_trip_reason</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>2abe8b56-e318-4b33-a51c-e4ba91e0f3c5</m:id>
<m:name>businessTripReason</m:name>
......@@ -130,6 +268,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>department_manager_opinion</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>31682b95-565b-4df3-83f4-d6627878d907</m:id>
<m:name>departmentManagerOpinion</m:name>
......@@ -144,6 +291,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>leadership_opinion</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>45b0e9ff-7f9f-4ffd-b41e-bc1b88216319</m:id>
<m:name>leadershipOpinion</m:name>
......@@ -158,6 +314,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>general_manager_opinion</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c02cc5d2-b272-4aec-9bab-eb5a69941da3</m:id>
<m:name>generalManagerOpinion</m:name>
......@@ -172,6 +337,15 @@
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>president_opinion</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7e4fe82f-d7dc-4eaa-8a04-de817c3b857d</m:id>
<m:name>presidentOpinion</m:name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment