Commit 639e3f37 by shiwenbo

修改运输记录模型错误

parent d4b33bdc
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<tablePrefix>xyst_dinas_transport_</tablePrefix> <tablePrefix>xyst_dinas_transport_</tablePrefix>
</header> </header>
<content> <content>
<dataModel id='94a21d60-5719-4932-88a3-292287d140de' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_transport_transport_record'> <dataModel id='f9965cff-6076-43e6-a736-563e97b2cbba' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_transport_transport_record'>
<attribute id='3165ab76-4c39-4a40-ab5b-e77cee1fb51a' name='id' columnName='id' title='id' type='uuid' default='' precision='' isArray='false'> <attribute id='3165ab76-4c39-4a40-ab5b-e77cee1fb51a' name='id' columnName='id' title='id' type='uuid' default='' precision='' isArray='false'>
<annotation id='b45ddb39-d595-48e7-9014-9bff93f11bd2' attributeId='b5a8a80b-c5ef-48e0-8cc1-c6f6bc8a8c2f' <annotation id='b45ddb39-d595-48e7-9014-9bff93f11bd2' attributeId='b5a8a80b-c5ef-48e0-8cc1-c6f6bc8a8c2f'
name='length' value='undefined'/> name='length' value='undefined'/>
......
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>f9965cff-6076-43e6-a736-563e97b2cbba</id>
<name>com.xyst.dinas.transport.datamodel.TransportRecord</name>
<title>运输记录</title>
<description>运输记录</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<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>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.beecode.inz.basis.datamodel.DriverUser</dependency>
<dependency>com.xyst.dinas.sales.datamodel.SalesRecord</dependency>
<dependency>com.xyst.dinas.transport.datamodel.TransportVehicle</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_transport_transport_record</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents/>
<m:attributes>
<m:attribute>
<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>3165ab76-4c39-4a40-ab5b-e77cee1fb51a</m:id>
<m:name>id</m:name>
<m:title>id</m:title>
<m:type>uuid</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<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>7e7decf0-165c-4b95-8ceb-ee238dedb12b</m:id>
<m:name>regionalCompany</m:name>
<m:title>所属区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<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>driver_user_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>54286015-3bd2-4a38-b2bd-a2e73d936cc5</m:id>
<m:name>driverUser</m:name>
<m:title>司机</m:title>
<m:type>com.beecode.inz.basis.datamodel.DriverUser</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<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>sale_record_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>54286015-3bd2-4a38-b2bd-a2e73d936cc5</m:id>
<m:name>saleRecord</m:name>
<m:title>销售记录</m:title>
<m:type>com.xyst.dinas.sales.datamodel.SalesRecord</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<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>transport_vehicle_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>598831e5-8d59-4a73-93c4-c4bfbf07eeff</m:id>
<m:name>transportVehicle</m:name>
<m:title>车辆</m:title>
<m:type>com.xyst.dinas.transport.datamodel.TransportVehicle</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<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>receiver_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>2cfada0b-70fe-47f1-a74e-1a4ec6f172cc</m:id>
<m:name>receiverName</m:name>
<m:title>接收人</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<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>
<m:title>备注</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<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>contact_number</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>2cfada0b-70fe-47f1-a74e-1a4ec6f172cc</m:id>
<m:name>contactNumber</m:name>
<m:title>联系电话</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>confirm_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>836fc160-8bc5-45f4-a8fc-42ff9e4fb553</m:id>
<m:name>confirmTime</m:name>
<m:title>确认时间</m:title>
<m:type>datetime</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>confirm_status</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7cbd95c7-b162-47ab-a7a4-76eb3a0d2040</m:id>
<m:name>confirmStatus</m:name>
<m:title>是否确认0未确认 1已确认</m:title>
<m:type>int</m:type>
<m:description></m:description>
<m:default>0</m:default>
</m:attribute>
<m:attribute>
<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>7cbd95c7-b162-47ab-a7a4-76eb3a0d2040</m:id>
<m:name>discard</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: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>73706086-0041-467a-bf16-307ae750dc90</m:id>
<m:name>del</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: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>ebedbcd6-3851-417a-8397-9346a7c196e4</m:id>
<m:name>version</m:name>
<m:title>version</m:title>
<m:type>int</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<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>836fc160-8bc5-45f4-a8fc-42ff9e4fb553</m:id>
<m:name>createTime</m:name>
<m:title>创建时间</m:title>
<m:type>datetime</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>modify_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ef43d29e-3770-49ae-a1f7-3197cba424a2</m:id>
<m:name>modifyTime</m:name>
<m:title>最后修改时间</m:title>
<m:type>datetime</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
</m:attributes>
</m:class>
</content>
</metadata>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<comment>所属车辆</comment> <comment>所属车辆</comment>
</column> </column>
</many-to-one> </many-to-one>
<many-to-one name="saleRecord" entity-name="com.xyst.dinas.transport.datamodel.SaleRecord" fetch="select"> <many-to-one name="saleRecord" entity-name="com.xyst.dinas.sales.datamodel.SalesRecord" fetch="select">
<column name="sale_record_id" not-null="false"> <column name="sale_record_id" not-null="false">
<comment>所属销售记录</comment> <comment>所属销售记录</comment>
</column> </column>
......
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