|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
|root||root|localhost|grant option|G
|
|
|
|
|
performance_schema|schema||mysql.session|localhost|SELECT|G
|
|
|
|
|
sys|schema||mysql.sys|localhost|TRIGGER|G</Grants>
|
|
|
|
|
<ServerVersion>5.7.44</ServerVersion>
|
|
|
|
|
<ServerVersion>8.4.0</ServerVersion>
|
|
|
|
|
</root>
|
|
|
|
|
<collation id="2" parent="1" name="big5_chinese_ci">
|
|
|
|
|
<Charset>big5</Charset>
|
|
|
|
@ -776,552 +776,619 @@ sys|schema||mysql.sys|localhost|TRIGGER|G</Grants>
|
|
|
|
|
<user id="233" parent="1" name="mysql.sys">
|
|
|
|
|
<Host>localhost</Host>
|
|
|
|
|
</user>
|
|
|
|
|
<table id="234" parent="230" name="inbuffer">
|
|
|
|
|
<routine id="234" parent="230" name="Account">
|
|
|
|
|
<Definer>root@localhost</Definer>
|
|
|
|
|
<RoutineKind>procedure</RoutineKind>
|
|
|
|
|
<SourceTextLength>320</SourceTextLength>
|
|
|
|
|
</routine>
|
|
|
|
|
<routine id="235" parent="230" name="InsertInBuffer">
|
|
|
|
|
<Definer>root@localhost</Definer>
|
|
|
|
|
<RoutineKind>procedure</RoutineKind>
|
|
|
|
|
<SourceTextLength>196</SourceTextLength>
|
|
|
|
|
</routine>
|
|
|
|
|
<routine id="236" parent="230" name="InsertOutBuffer">
|
|
|
|
|
<Definer>root@localhost</Definer>
|
|
|
|
|
<RoutineKind>procedure</RoutineKind>
|
|
|
|
|
<SourceTextLength>199</SourceTextLength>
|
|
|
|
|
</routine>
|
|
|
|
|
<routine id="237" parent="230" name="Stock">
|
|
|
|
|
<Definer>root@localhost</Definer>
|
|
|
|
|
<RoutineKind>procedure</RoutineKind>
|
|
|
|
|
<SourceTextLength>184</SourceTextLength>
|
|
|
|
|
</routine>
|
|
|
|
|
<table id="238" parent="230" name="inbuffer">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="235" parent="230" name="inorder">
|
|
|
|
|
<table id="239" parent="230" name="inorder">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="236" parent="230" name="inrecord">
|
|
|
|
|
<table id="240" parent="230" name="inrecord">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="237" parent="230" name="outbuffer">
|
|
|
|
|
<table id="241" parent="230" name="outbuffer">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="238" parent="230" name="outorder">
|
|
|
|
|
<table id="242" parent="230" name="outorder">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="239" parent="230" name="outrecord">
|
|
|
|
|
<table id="243" parent="230" name="outrecord">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="240" parent="230" name="prodcatalog">
|
|
|
|
|
<table id="244" parent="230" name="prodcatalog">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="241" parent="230" name="production">
|
|
|
|
|
<table id="245" parent="230" name="production">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="242" parent="230" name="storagerecord">
|
|
|
|
|
<table id="246" parent="230" name="storagerecord">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="243" parent="230" name="supplierinf">
|
|
|
|
|
<table id="247" parent="230" name="supplierinf">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<table id="244" parent="230" name="user">
|
|
|
|
|
<table id="248" parent="230" name="user">
|
|
|
|
|
<Engine>InnoDB</Engine>
|
|
|
|
|
<CollationName>utf8mb4_unicode_ci</CollationName>
|
|
|
|
|
<CollationName>utf8mb4_0900_ai_ci</CollationName>
|
|
|
|
|
</table>
|
|
|
|
|
<column id="245" parent="234" name="id">
|
|
|
|
|
<argument id="249" parent="234" name="nNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="250" parent="234" name="tTime">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="251" parent="234" name="prodid">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="252" parent="234" name="addsum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="253" parent="234" name="pPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="254" parent="235" name="prodid">
|
|
|
|
|
<DasType>varchar(10)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="255" parent="235" name="addsum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="256" parent="236" name="prodid">
|
|
|
|
|
<DasType>varchar(10)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="257" parent="236" name="addsum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="258" parent="237" name="nNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="259" parent="237" name="tTime">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="260" parent="237" name="prodid">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="261" parent="237" name="addsum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<argument id="262" parent="237" name="pPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</argument>
|
|
|
|
|
<column id="263" parent="238" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="246" parent="234" name="name">
|
|
|
|
|
<column id="264" parent="238" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="247" parent="234" name="inPrice">
|
|
|
|
|
<column id="265" parent="238" name="inPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="248" parent="234" name="OutPrice">
|
|
|
|
|
<column id="266" parent="238" name="OutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="249" parent="234" name="life">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="267" parent="238" name="life">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="250" parent="234" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="268" parent="238" name="sum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="251" parent="234" name="supplyId">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="269" parent="238" name="supplyId">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="252" parent="234" name="id2">
|
|
|
|
|
<column id="270" parent="238" name="id2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="253" parent="234" name="name2">
|
|
|
|
|
<column id="271" parent="238" name="name2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>9</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="254" parent="234" name="price">
|
|
|
|
|
<column id="272" parent="238" name="price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>10</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="255" parent="234" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="273" parent="238" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>0</DefaultExpression>
|
|
|
|
|
<Position>11</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="256" parent="234" name="inbuffer_ibfk_1">
|
|
|
|
|
<foreign-key id="274" parent="238" name="inbuffer_ibfk_1">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>supplierinf</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<foreign-key id="257" parent="234" name="inbuffer_ibfk_2">
|
|
|
|
|
<foreign-key id="275" parent="238" name="inbuffer_ibfk_2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>prodcatalog</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="258" parent="234" name="PRIMARY">
|
|
|
|
|
<index id="276" parent="238" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="259" parent="234" name="name">
|
|
|
|
|
<index id="277" parent="238" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="260" parent="234" name="supplyId">
|
|
|
|
|
<index id="278" parent="238" name="supplyId">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="261" parent="234" name="id2">
|
|
|
|
|
<index id="279" parent="238" name="id2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="262" parent="234" name="PRIMARY">
|
|
|
|
|
<key id="280" parent="238" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="263" parent="234" name="name">
|
|
|
|
|
<key id="281" parent="238" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="264" parent="235" name="iNumber">
|
|
|
|
|
<column id="282" parent="239" name="iNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="265" parent="235" name="allInPrice">
|
|
|
|
|
<column id="283" parent="239" name="allInPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="266" parent="235" name="inDate">
|
|
|
|
|
<column id="284" parent="239" name="inDate">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<OnUpdate>CURRENT_TIMESTAMP</OnUpdate>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="267" parent="235" name="principal">
|
|
|
|
|
<column id="285" parent="239" name="principal">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="268" parent="235" name="status">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="286" parent="239" name="status">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>2</DefaultExpression>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="269" parent="235" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="287" parent="239" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="270" parent="235" name="PRIMARY">
|
|
|
|
|
<index id="288" parent="239" name="PRIMARY">
|
|
|
|
|
<ColNames>iNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="271" parent="235" name="PRIMARY">
|
|
|
|
|
<key id="289" parent="239" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="272" parent="236" name="iNumber">
|
|
|
|
|
<column id="290" parent="240" name="iNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="273" parent="236" name="id">
|
|
|
|
|
<column id="291" parent="240" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="274" parent="236" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="292" parent="240" name="sum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="275" parent="236" name="Price">
|
|
|
|
|
<column id="293" parent="240" name="Price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="276" parent="236" name="inrecord_ibfk_1">
|
|
|
|
|
<foreign-key id="294" parent="240" name="inrecord_ibfk_1">
|
|
|
|
|
<ColNames>iNumber</ColNames>
|
|
|
|
|
<RefColNames>iNumber</RefColNames>
|
|
|
|
|
<RefTableName>inorder</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="277" parent="236" name="iNumber">
|
|
|
|
|
<index id="295" parent="240" name="iNumber">
|
|
|
|
|
<ColNames>iNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<column id="278" parent="237" name="id">
|
|
|
|
|
<column id="296" parent="241" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="279" parent="237" name="name">
|
|
|
|
|
<column id="297" parent="241" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="280" parent="237" name="inPrice">
|
|
|
|
|
<column id="298" parent="241" name="inPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="281" parent="237" name="OutPrice">
|
|
|
|
|
<column id="299" parent="241" name="OutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="282" parent="237" name="life">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="300" parent="241" name="life">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="283" parent="237" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="301" parent="241" name="sum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="284" parent="237" name="supplyId">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="302" parent="241" name="supplyId">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="285" parent="237" name="id2">
|
|
|
|
|
<column id="303" parent="241" name="id2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="286" parent="237" name="name2">
|
|
|
|
|
<column id="304" parent="241" name="name2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>9</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="287" parent="237" name="price">
|
|
|
|
|
<column id="305" parent="241" name="price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>10</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="288" parent="237" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="306" parent="241" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>0</DefaultExpression>
|
|
|
|
|
<Position>11</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="289" parent="237" name="outbuffer_ibfk_1">
|
|
|
|
|
<foreign-key id="307" parent="241" name="outbuffer_ibfk_1">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>supplierinf</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<foreign-key id="290" parent="237" name="outbuffer_ibfk_2">
|
|
|
|
|
<foreign-key id="308" parent="241" name="outbuffer_ibfk_2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>prodcatalog</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="291" parent="237" name="PRIMARY">
|
|
|
|
|
<index id="309" parent="241" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="292" parent="237" name="name">
|
|
|
|
|
<index id="310" parent="241" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="293" parent="237" name="supplyId">
|
|
|
|
|
<index id="311" parent="241" name="supplyId">
|
|
|
|
|
<ColNames>supplyId</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="294" parent="237" name="id2">
|
|
|
|
|
<index id="312" parent="241" name="id2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="295" parent="237" name="PRIMARY">
|
|
|
|
|
<key id="313" parent="241" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="296" parent="237" name="name">
|
|
|
|
|
<key id="314" parent="241" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="297" parent="238" name="oNumber">
|
|
|
|
|
<column id="315" parent="242" name="oNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="298" parent="238" name="allOutPrice">
|
|
|
|
|
<column id="316" parent="242" name="allOutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="299" parent="238" name="oDate">
|
|
|
|
|
<column id="317" parent="242" name="oDate">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<OnUpdate>CURRENT_TIMESTAMP</OnUpdate>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="300" parent="238" name="principal">
|
|
|
|
|
<column id="318" parent="242" name="principal">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="301" parent="238" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="319" parent="242" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="302" parent="238" name="PRIMARY">
|
|
|
|
|
<index id="320" parent="242" name="PRIMARY">
|
|
|
|
|
<ColNames>oNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="303" parent="238" name="PRIMARY">
|
|
|
|
|
<key id="321" parent="242" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="304" parent="239" name="oNumber">
|
|
|
|
|
<column id="322" parent="243" name="oNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="305" parent="239" name="id">
|
|
|
|
|
<column id="323" parent="243" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="306" parent="239" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="324" parent="243" name="sum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="307" parent="239" name="Price">
|
|
|
|
|
<column id="325" parent="243" name="Price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="308" parent="239" name="outrecord_ibfk_1">
|
|
|
|
|
<foreign-key id="326" parent="243" name="outrecord_ibfk_1">
|
|
|
|
|
<ColNames>oNumber</ColNames>
|
|
|
|
|
<RefColNames>oNumber</RefColNames>
|
|
|
|
|
<RefTableName>outorder</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="309" parent="239" name="oNumber">
|
|
|
|
|
<index id="327" parent="243" name="oNumber">
|
|
|
|
|
<ColNames>oNumber</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<column id="310" parent="240" name="id">
|
|
|
|
|
<column id="328" parent="244" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="311" parent="240" name="name">
|
|
|
|
|
<column id="329" parent="244" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="312" parent="240" name="PRIMARY">
|
|
|
|
|
<index id="330" parent="244" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="313" parent="240" name="PRIMARY">
|
|
|
|
|
<key id="331" parent="244" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="314" parent="241" name="id">
|
|
|
|
|
<column id="332" parent="245" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="315" parent="241" name="name">
|
|
|
|
|
<column id="333" parent="245" name="name">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="316" parent="241" name="inPrice">
|
|
|
|
|
<column id="334" parent="245" name="inPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="317" parent="241" name="OutPrice">
|
|
|
|
|
<column id="335" parent="245" name="OutPrice">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="318" parent="241" name="life">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="336" parent="245" name="life">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="319" parent="241" name="sum">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="337" parent="245" name="sum">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="320" parent="241" name="supplyId">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="338" parent="245" name="supplyId">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="321" parent="241" name="id2">
|
|
|
|
|
<column id="339" parent="245" name="id2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="322" parent="241" name="name2">
|
|
|
|
|
<column id="340" parent="245" name="name2">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>9</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="323" parent="241" name="price">
|
|
|
|
|
<column id="341" parent="245" name="price">
|
|
|
|
|
<DasType>float|0s</DasType>
|
|
|
|
|
<Position>10</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="324" parent="241" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="342" parent="245" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>11</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<foreign-key id="325" parent="241" name="production_ibfk_1">
|
|
|
|
|
<foreign-key id="343" parent="245" name="production_ibfk_1">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<RefColNames>id</RefColNames>
|
|
|
|
|
<RefTableName>prodcatalog</RefTableName>
|
|
|
|
|
</foreign-key>
|
|
|
|
|
<index id="326" parent="241" name="PRIMARY">
|
|
|
|
|
<index id="344" parent="245" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="327" parent="241" name="name">
|
|
|
|
|
<index id="345" parent="245" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="328" parent="241" name="id2">
|
|
|
|
|
<index id="346" parent="245" name="id2">
|
|
|
|
|
<ColNames>id2</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="329" parent="241" name="PRIMARY">
|
|
|
|
|
<key id="347" parent="245" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="330" parent="241" name="name">
|
|
|
|
|
<key id="348" parent="245" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="331" parent="242" name="theNumber">
|
|
|
|
|
<column id="349" parent="246" name="theNumber">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="332" parent="242" name="cDate">
|
|
|
|
|
<column id="350" parent="246" name="cDate">
|
|
|
|
|
<DasType>timestamp|0s</DasType>
|
|
|
|
|
<DefaultExpression>CURRENT_TIMESTAMP</DefaultExpression>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<OnUpdate>CURRENT_TIMESTAMP</OnUpdate>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="333" parent="242" name="id">
|
|
|
|
|
<column id="351" parent="246" name="id">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="334" parent="242" name="execute">
|
|
|
|
|
<column id="352" parent="246" name="execute">
|
|
|
|
|
<DasType>enum('+', '-')|0e</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="335" parent="242" name="num">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="353" parent="246" name="num">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="336" parent="243" name="id">
|
|
|
|
|
<AutoIncrement>9</AutoIncrement>
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="354" parent="247" name="id">
|
|
|
|
|
<AutoIncrement>8</AutoIncrement>
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="337" parent="243" name="name">
|
|
|
|
|
<column id="355" parent="247" name="name">
|
|
|
|
|
<DasType>varchar(30)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="338" parent="243" name="address">
|
|
|
|
|
<column id="356" parent="247" name="address">
|
|
|
|
|
<DasType>varchar(50)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="339" parent="243" name="contact">
|
|
|
|
|
<column id="357" parent="247" name="contact">
|
|
|
|
|
<DasType>varchar(11)|0s</DasType>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="340" parent="243" name="email">
|
|
|
|
|
<column id="358" parent="247" name="email">
|
|
|
|
|
<DasType>varchar(50)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="341" parent="243" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="359" parent="247" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="342" parent="243" name="PRIMARY">
|
|
|
|
|
<index id="360" parent="247" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="343" parent="243" name="name">
|
|
|
|
|
<index id="361" parent="247" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="344" parent="243" name="PRIMARY">
|
|
|
|
|
<key id="362" parent="247" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="345" parent="243" name="name">
|
|
|
|
|
<key id="363" parent="247" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<column id="346" parent="244" name="id">
|
|
|
|
|
<AutoIncrement>6</AutoIncrement>
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="364" parent="248" name="id">
|
|
|
|
|
<AutoIncrement>5</AutoIncrement>
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>1</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="347" parent="244" name="name">
|
|
|
|
|
<column id="365" parent="248" name="name">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>2</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="348" parent="244" name="rname">
|
|
|
|
|
<DasType>varchar(255)|0s</DasType>
|
|
|
|
|
<column id="366" parent="248" name="rname">
|
|
|
|
|
<DasType>varchar(15)|0s</DasType>
|
|
|
|
|
<Position>3</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="349" parent="244" name="password">
|
|
|
|
|
<column id="367" parent="248" name="password">
|
|
|
|
|
<DasType>varchar(20)|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>4</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="350" parent="244" name="phone">
|
|
|
|
|
<column id="368" parent="248" name="phone">
|
|
|
|
|
<DasType>varchar(11)|0s</DasType>
|
|
|
|
|
<Position>5</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="351" parent="244" name="sSuper">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="369" parent="248" name="sSuper">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<NotNull>1</NotNull>
|
|
|
|
|
<Position>6</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="352" parent="244" name="img">
|
|
|
|
|
<column id="370" parent="248" name="img">
|
|
|
|
|
<DasType>varchar(50)|0s</DasType>
|
|
|
|
|
<Position>7</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<column id="353" parent="244" name="delmark">
|
|
|
|
|
<DasType>int(11)|0s</DasType>
|
|
|
|
|
<column id="371" parent="248" name="delmark">
|
|
|
|
|
<DasType>int|0s</DasType>
|
|
|
|
|
<DefaultExpression>1</DefaultExpression>
|
|
|
|
|
<Position>8</Position>
|
|
|
|
|
</column>
|
|
|
|
|
<index id="354" parent="244" name="PRIMARY">
|
|
|
|
|
<index id="372" parent="248" name="PRIMARY">
|
|
|
|
|
<ColNames>id</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<index id="355" parent="244" name="name">
|
|
|
|
|
<index id="373" parent="248" name="name">
|
|
|
|
|
<ColNames>name</ColNames>
|
|
|
|
|
<Type>btree</Type>
|
|
|
|
|
<Unique>1</Unique>
|
|
|
|
|
</index>
|
|
|
|
|
<key id="356" parent="244" name="PRIMARY">
|
|
|
|
|
<key id="374" parent="248" name="PRIMARY">
|
|
|
|
|
<NameSurrogate>1</NameSurrogate>
|
|
|
|
|
<Primary>1</Primary>
|
|
|
|
|
<UnderlyingIndexName>PRIMARY</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
<key id="357" parent="244" name="name">
|
|
|
|
|
<key id="375" parent="248" name="name">
|
|
|
|
|
<UnderlyingIndexName>name</UnderlyingIndexName>
|
|
|
|
|
</key>
|
|
|
|
|
</database-model>
|
|
|
|
|