Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
30e5a5e6
Commit
30e5a5e6
authored
Apr 20, 2021
by
焦凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同添加标记子表是否自动生成字段
parent
f57bdf45
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
Contract.mk
.../main/model/com/xyst/dinas/contract/datamodel/Contract.mk
+4
-0
Contract.jmx
.../resources/com/xyst/dinas/contract/datamodel/Contract.jmx
+9
-0
Contract.hbm.xml
...dinas.contract/src/main/resources/config/Contract.hbm.xml
+3
-0
No files found.
backend/xyst.dinas.contract/src/main/model/com/xyst/dinas/contract/datamodel/Contract.mk
View file @
30e5a5e6
...
@@ -134,6 +134,10 @@
...
@@ -134,6 +134,10 @@
<annotation id='82ecab1c-8a93-4a19-81a7-cfa145127cda' attributeId='f0775057-a369-432a-864b-04c8b5cd0342' name='precision' value='12'></annotation>
<annotation id='82ecab1c-8a93-4a19-81a7-cfa145127cda' attributeId='f0775057-a369-432a-864b-04c8b5cd0342' name='precision' value='12'></annotation>
<annotation id='b4b20cce-829a-40f6-87cd-3ccd887da4f9' attributeId='704c67f1-8bc1-42be-8c34-b3a9526c2da7' name='scale' value='2'></annotation>
<annotation id='b4b20cce-829a-40f6-87cd-3ccd887da4f9' attributeId='704c67f1-8bc1-42be-8c34-b3a9526c2da7' name='scale' value='2'></annotation>
</attribute>
</attribute>
<attribute id='10a76a69-ea9c-40e7-a29a-c7f7378838e7' name='detailAuto' columnName='detail_auto' title='是否自动生成子表' type='boolean' default='false' precision='' isArray='false'>
<annotation id='394a0641-1f8c-4bde-8531-38a6bdb45e69' attributeId='d67f1e30-4592-4c06-8e26-99eec48c4a87' name='length' value='undefined'>
</annotation>
</attribute>
<childModel id='57fa34cf-59f3-4be6-98bb-3e87853471ee' attributeId='06a76145-09c6-4e83-b91e-66aec616b9ca' refParentAttributeId='233c82e2-e7b6-49fc-96cc-bb947ba2cc99'
<childModel id='57fa34cf-59f3-4be6-98bb-3e87853471ee' attributeId='06a76145-09c6-4e83-b91e-66aec616b9ca' refParentAttributeId='233c82e2-e7b6-49fc-96cc-bb947ba2cc99'
...
...
backend/xyst.dinas.contract/src/main/resources/com/xyst/dinas/contract/datamodel/Contract.jmx
View file @
30e5a5e6
...
@@ -490,6 +490,15 @@
...
@@ -490,6 +490,15 @@
<m:default></m:default>
<m:default></m:default>
</m:attribute>
</m:attribute>
<m:attribute>
<m:attribute>
<m:annotations/>
<m:id>
10a76a69-ea9c-40e7-a29a-c7f7378838e7
</m:id>
<m:name>
detailAuto
</m:name>
<m:title>
是否自动生成子表
</m:title>
<m:type>
boolean
</m:type>
<m:description></m:description>
<m:default>
false
</m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotations>
<m:annotation>
<m:annotation>
<m:type>
com.beecode.bap.biztrait.datamodel.SubTableAnnotation
</m:type>
<m:type>
com.beecode.bap.biztrait.datamodel.SubTableAnnotation
</m:type>
...
...
backend/xyst.dinas.contract/src/main/resources/config/Contract.hbm.xml
View file @
30e5a5e6
...
@@ -135,6 +135,9 @@
...
@@ -135,6 +135,9 @@
<property
name=
"saleDinasAmount"
type=
"big_decimal"
not-null=
"false"
>
<property
name=
"saleDinasAmount"
type=
"big_decimal"
not-null=
"false"
>
<column
name=
"sale_dinas_amount"
precision=
"12"
scale=
"2"
></column>
<column
name=
"sale_dinas_amount"
precision=
"12"
scale=
"2"
></column>
</property>
</property>
<property
name=
"detailAuto"
type=
"boolean"
not-null=
"false"
>
<column
name=
"detail_auto"
></column>
</property>
<bag
name=
"contractDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<bag
name=
"contractDetails"
lazy=
"true"
fetch=
"select"
inverse=
"true"
>
<key
column=
"master_id"
not-null=
"true"
/>
<key
column=
"master_id"
not-null=
"true"
/>
<one-to-many
entity-name=
"com.xyst.dinas.contract.datamodel.Contract$contractDetail"
/>
<one-to-many
entity-name=
"com.xyst.dinas.contract.datamodel.Contract$contractDetail"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment