Commit d17b387b by 焦凯

提交代码

parent 8704b329
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
<annotation id='ea154cb8-f939-4e9f-9793-9673d984161f' attributeId='ffc0a199-4038-4ebf-a94f-a0f12bfc76dd' name='length' value='50'> <annotation id='ea154cb8-f939-4e9f-9793-9673d984161f' attributeId='ffc0a199-4038-4ebf-a94f-a0f12bfc76dd' name='length' value='50'>
</annotation> </annotation>
</attribute> </attribute>
<attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='purchaseSandUnit' columnName='purchase_sand_unit_id' title='购砂单位' type='com.xyst.dinas.project.datamodel.PurchaseSandCompany' default='' precision='' isArray='false'> <attribute id='c4154a1b-f727-48cf-9ef0-ad1bee512504' name='purchaseSandCompany' columnName='purchase_sand_company_id' title='购砂单位' type='com.xyst.dinas.project.datamodel.PurchaseSandCompany' default='' precision='' isArray='false'>
<annotation id='00caecc1-35aa-4342-90c8-250f84609fe4' attributeId='55efd3f5-036a-4ac4-83c9-14e22cf5465a' name='length' value='undefined'></annotation> <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> <annotation id='95a6dd6d-c676-4265-9c8b-d115c13b472f' attributeId='43768653-e259-4b0f-8c9d-8739f030675b' name='mappingType' value='many-to-one'></annotation>
</attribute> </attribute>
<attribute id='cbb5b983-299b-4259-97d9-6470651bb18b' name='purchaseSandUnitName' columnName='purchase_sand_unit_name' title='购砂单位名称' type='string' default='' precision='' isArray='false'> <attribute id='cbb5b983-299b-4259-97d9-6470651bb18b' name='purchaseSandCompanyName' columnName='purchase_sand_company_name' title='购砂单位名称' type='string' default='' precision='' isArray='false'>
<annotation id='ea154cb8-f939-4e9f-9793-9673d984161f' attributeId='ffc0a199-4038-4ebf-a94f-a0f12bfc76dd' name='length' value='50'> <annotation id='ea154cb8-f939-4e9f-9793-9673d984161f' attributeId='ffc0a199-4038-4ebf-a94f-a0f12bfc76dd' name='length' value='50'>
</annotation> </annotation>
</attribute> </attribute>
...@@ -127,15 +127,15 @@ ...@@ -127,15 +127,15 @@
<attribute id='77e202d5-a342-436c-8042-adcaa8dde410' name='purchaseAmount' columnName='purchase_amount' title='砂石量(吨)' type='fixnum' default='' precision='' isArray='false'> <attribute id='77e202d5-a342-436c-8042-adcaa8dde410' name='purchaseAmount' columnName='purchase_amount' title='砂石量(吨)' type='fixnum' default='' precision='' isArray='false'>
<annotation id='b203f8fa-0ad3-4837-a023-0ef742a74f29' attributeId='ff41e7d3-9fba-4a9b-811a-9b66ab87950d' name='length' value='100'> <annotation id='b203f8fa-0ad3-4837-a023-0ef742a74f29' attributeId='ff41e7d3-9fba-4a9b-811a-9b66ab87950d' name='length' value='100'>
</annotation> </annotation>
<annotation id='4d1596bd-ae0a-4d7e-8258-5dad66493239' attributeId='7b049c9a-56e4-4791-a0a3-451237fd38a1' name='precision' value='10'> <annotation id='4d1596bd-ae0a-4d7e-8258-5dad66493239' attributeId='7b049c9a-56e4-4791-a0a3-451237fd38a1' name='precision' value='12'>
</annotation> </annotation>
<annotation id='1a25ed97-846e-4847-aa21-1a0b025c01ed' attributeId='52a3d8ee-92ab-45dc-b668-46408143254d' name='scale' value='2'> <annotation id='1a25ed97-846e-4847-aa21-1a0b025c01ed' attributeId='52a3d8ee-92ab-45dc-b668-46408143254d' name='scale' value='4'>
</annotation> </annotation>
</attribute> </attribute>
<attribute id='77e202d5-a342-436c-8042-adcaa8dde410' name='price' columnName='price' title='单价' type='fixnum' default='' precision='' isArray='false'> <attribute id='77e202d5-a342-436c-8042-adcaa8dde410' name='price' columnName='price' title='单价' type='fixnum' default='' precision='' isArray='false'>
<annotation id='b203f8fa-0ad3-4837-a023-0ef742a74f29' attributeId='ff41e7d3-9fba-4a9b-811a-9b66ab87950d' name='length' value='100'> <annotation id='b203f8fa-0ad3-4837-a023-0ef742a74f29' attributeId='ff41e7d3-9fba-4a9b-811a-9b66ab87950d' name='length' value='100'>
</annotation> </annotation>
<annotation id='4d1596bd-ae0a-4d7e-8258-5dad66493239' attributeId='7b049c9a-56e4-4791-a0a3-451237fd38a1' name='precision' value='10'> <annotation id='4d1596bd-ae0a-4d7e-8258-5dad66493239' attributeId='7b049c9a-56e4-4791-a0a3-451237fd38a1' name='precision' value='12'>
</annotation> </annotation>
<annotation id='1a25ed97-846e-4847-aa21-1a0b025c01ed' attributeId='52a3d8ee-92ab-45dc-b668-46408143254d' name='scale' value='2'> <annotation id='1a25ed97-846e-4847-aa21-1a0b025c01ed' attributeId='52a3d8ee-92ab-45dc-b668-46408143254d' name='scale' value='2'>
</annotation> </annotation>
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
<attribute id='77e202d5-a342-436c-8042-adcaa8dde410' name='amount' columnName='amount' title='总价' type='fixnum' default='' precision='' isArray='false'> <attribute id='77e202d5-a342-436c-8042-adcaa8dde410' name='amount' columnName='amount' title='总价' type='fixnum' default='' precision='' isArray='false'>
<annotation id='b203f8fa-0ad3-4837-a023-0ef742a74f29' attributeId='ff41e7d3-9fba-4a9b-811a-9b66ab87950d' name='length' value='100'> <annotation id='b203f8fa-0ad3-4837-a023-0ef742a74f29' attributeId='ff41e7d3-9fba-4a9b-811a-9b66ab87950d' name='length' value='100'>
</annotation> </annotation>
<annotation id='4d1596bd-ae0a-4d7e-8258-5dad66493239' attributeId='7b049c9a-56e4-4791-a0a3-451237fd38a1' name='precision' value='10'> <annotation id='4d1596bd-ae0a-4d7e-8258-5dad66493239' attributeId='7b049c9a-56e4-4791-a0a3-451237fd38a1' name='precision' value='12'>
</annotation> </annotation>
<annotation id='1a25ed97-846e-4847-aa21-1a0b025c01ed' attributeId='52a3d8ee-92ab-45dc-b668-46408143254d' name='scale' value='2'> <annotation id='1a25ed97-846e-4847-aa21-1a0b025c01ed' attributeId='52a3d8ee-92ab-45dc-b668-46408143254d' name='scale' value='2'>
</annotation> </annotation>
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</field> </field>
<field title='购砂单位'> <field title='购砂单位'>
<name>purchaseSandUnit.id</name> <name>purchaseSandCompany.id</name>
<type>uuid</type> <type>uuid</type>
<ref> <ref>
<type></type> <type></type>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
<description></description> <description></description>
</field> </field>
<field title='购砂单位名称'> <field title='购砂单位名称'>
<name>purchaseSandUnit.name</name> <name>purchaseSandCompany.name</name>
<type>string</type> <type>string</type>
<description></description> <description></description>
</field> </field>
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<m:attribute> <m:attribute>
<m:annotations/> <m:annotations/>
<m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id> <m:id>c4154a1b-f727-48cf-9ef0-ad1bee512504</m:id>
<m:name>purchaseSandUnit</m:name> <m:name>purchaseSandCompany</m:name>
<m:title>购砂单位</m:title> <m:title>购砂单位</m:title>
<m:type>com.xyst.dinas.project.datamodel.PurchaseSandCompany</m:type> <m:type>com.xyst.dinas.project.datamodel.PurchaseSandCompany</m:type>
<m:description></m:description> <m:description></m:description>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</m:annotation> </m:annotation>
</m:annotations> </m:annotations>
<m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id> <m:id>cbb5b983-299b-4259-97d9-6470651bb18b</m:id>
<m:name>purchaseSandUnitName</m:name> <m:name>purchaseSandCompanyName</m:name>
<m:title>购砂单位名称</m:title> <m:title>购砂单位名称</m:title>
<m:type>string</m:type> <m:type>string</m:type>
<m:description></m:description> <m:description></m:description>
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<m:desc></m:desc> <m:desc></m:desc>
</m:field> </m:field>
<m:field> <m:field>
<m:name>purchaseSandUnit.id</m:name> <m:name>purchaseSandCompany.id</m:name>
<m:title>购砂单位</m:title> <m:title>购砂单位</m:title>
<m:type>uuid</m:type> <m:type>uuid</m:type>
<m:ref> <m:ref>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<m:desc></m:desc> <m:desc></m:desc>
</m:field> </m:field>
<m:field> <m:field>
<m:name>purchaseSandUnit.name</m:name> <m:name>purchaseSandCompany.name</m:name>
<m:title>购砂单位名称</m:title> <m:title>购砂单位名称</m:title>
<m:type>string</m:type> <m:type>string</m:type>
<m:ref> <m:ref>
......
...@@ -54,11 +54,11 @@ ...@@ -54,11 +54,11 @@
<property name="regionCompanyName" type="nstring" not-null="false"> <property name="regionCompanyName" type="nstring" not-null="false">
<column name="region_company_name" length="50"></column> <column name="region_company_name" length="50"></column>
</property> </property>
<many-to-one name="purchaseSandUnit" entity-name="com.xyst.dinas.project.datamodel.PurchaseSandCompany" fetch="select"> <many-to-one name="purchaseSandCompany" entity-name="com.xyst.dinas.project.datamodel.PurchaseSandCompany" fetch="select">
<column name="purchase_sand_unit_id" not-null="false"/> <column name="purchase_sand_company_id" not-null="false"/>
</many-to-one> </many-to-one>
<property name="purchaseSandUnitName" type="nstring" not-null="false"> <property name="purchaseSandCompanyName" type="nstring" not-null="false">
<column name="purchase_sand_unit_name" length="50"></column> <column name="purchase_sand_company_name" length="50"></column>
</property> </property>
<property name="contractName" type="nstring" not-null="false"> <property name="contractName" type="nstring" not-null="false">
<column name="contract_name" length="50"></column> <column name="contract_name" length="50"></column>
...@@ -143,13 +143,13 @@ ...@@ -143,13 +143,13 @@
<column name="dinas_type_id" not-null="false"/> <column name="dinas_type_id" not-null="false"/>
</many-to-one> </many-to-one>
<property name="purchaseAmount" type="big_decimal" not-null="false"> <property name="purchaseAmount" type="big_decimal" not-null="false">
<column name="purchase_amount" precision="10" scale="2"></column> <column name="purchase_amount" precision="12" scale="4"></column>
</property> </property>
<property name="price" type="big_decimal" not-null="false"> <property name="price" type="big_decimal" not-null="false">
<column name="price" precision="10" scale="2"></column> <column name="price" precision="12" scale="2"></column>
</property> </property>
<property name="amount" type="big_decimal" not-null="false"> <property name="amount" type="big_decimal" not-null="false">
<column name="amount" precision="10" scale="2"></column> <column name="amount" precision="12" scale="2"></column>
</property> </property>
</class> </class>
</hibernate-mapping> </hibernate-mapping>
\ No newline at end of file
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