From c03bba5f73eb0483e6051b2e1af786d5133aa171 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期二, 01 七月 2025 14:13:33 +0800 Subject: [PATCH] art: 供应商表数据库设计修改 --- db/双林新火炬MES数据库设计.pdma.json | 194 +++++++++++++++++++++++++++++++----------------- 1 files changed, 125 insertions(+), 69 deletions(-) diff --git "a/db/\345\217\214\346\236\227\346\226\260\347\201\253\347\202\254MES\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241.pdma.json" "b/db/\345\217\214\346\236\227\346\226\260\347\201\253\347\202\254MES\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241.pdma.json" index 9724489..decdf2f 100644 --- "a/db/\345\217\214\346\236\227\346\226\260\347\201\253\347\202\254MES\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241.pdma.json" +++ "b/db/\345\217\214\346\236\227\346\226\260\347\201\253\347\202\254MES\346\225\260\346\215\256\345\272\223\350\256\276\350\256\241.pdma.json" @@ -4,7 +4,7 @@ "avatar": "", "version": "4.9.2", "createdTime": "2025-3-10 16:38:19", - "updatedTime": "2025-6-24 11:05:00", + "updatedTime": "2025-7-1 14:12:45", "dbConns": [], "profile": { "default": { @@ -5464,8 +5464,8 @@ "codeRoot": "" } }, - "defKey": "eam_week_maintenance_order", - "defName": "鍛ㄤ繚宸ュ崟", + "defKey": "eam_maintenance_order", + "defName": "淇濆吇宸ュ崟", "comment": "", "properties": { "partitioned by": "(date string)", @@ -6216,8 +6216,8 @@ "codeRoot": "" } }, - "defKey": "eam_week_maintenance_order_detail", - "defName": "鍛ㄤ繚宸ュ崟鏄庣粏", + "defKey": "eam_maintenance_order_detail", + "defName": "淇濆吇宸ュ崟鏄庣粏", "comment": "", "properties": { "partitioned by": "(date string)", @@ -10679,7 +10679,7 @@ }, { "defKey": "order_quantity", - "defName": "鐢熶骇鏁伴噺", + "defName": "璁㈠崟鏁伴噺", "comment": "", "type": "", "len": "", @@ -11394,7 +11394,7 @@ }, { "defKey": "republish_time", - "defName": "閲嶅彂甯冨疄闄�", + "defName": "閲嶅彂甯冩椂闂�", "comment": "", "type": "", "len": "", @@ -11765,7 +11765,7 @@ }, { "defKey": "factory_id", - "defName": "宸ュ巶/杞﹂棿/浜х嚎ID", + "defName": "浜х嚎ID", "comment": "", "type": "", "len": "", @@ -12177,7 +12177,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "50679B39-7BD3-4DCD-A47D-ECC426128A34" } ], @@ -12194,7 +12194,7 @@ } }, "defKey": "pms_process_bill_materials", - "defName": "宸ヨ壓BOM", + "defName": "璁㈠崟BOM", "comment": "", "properties": { "partitioned by": "(date string)", @@ -12555,7 +12555,7 @@ }, { "defKey": "production_quantity", - "defName": "鍩烘湰鏁伴噺", + "defName": "璁㈠崟鏁伴噺", "comment": "", "type": "", "len": "", @@ -12566,9 +12566,9 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811", + "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E", "extProps": {}, - "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E", + "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4", "id": "DDB028F3-301D-40ED-BA06-297D2AC13F52" } ], @@ -47582,7 +47582,7 @@ }, { "defKey": "factory_id", - "defName": "宸ュ巶/杞﹂棿/浜х嚎", + "defName": "浜х嚎ID", "comment": "", "type": "", "len": "", @@ -47891,7 +47891,7 @@ }, { "defKey": "factory_id", - "defName": "宸ュ巶/杞﹂棿/浜х嚎", + "defName": "浜х嚎ID", "comment": "", "type": "", "len": "", @@ -49197,7 +49197,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "B965D5D7-3379-4BF4-BDB3-304185112BEF" }, { @@ -49233,7 +49233,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", "id": "7B5C2DD1-F102-4B95-A317-C2F7A6200EAE" }, { @@ -49251,7 +49251,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", "id": "30DE34FA-8BFB-4042-8574-5AF91F35D699" }, { @@ -49269,7 +49269,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", "id": "AC4315D7-8C0E-4D6A-93B3-E60F3B24F66E" }, { @@ -49287,7 +49287,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", "id": "4DE19040-4B23-4CDA-BE0E-9DF4F363A01E" }, { @@ -49323,7 +49323,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "CE906B38-7183-41BE-A9B4-A7E7233B54B4" }, { @@ -49341,7 +49341,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "BE09D493-E183-402D-ACC4-EEA21EB35B8E", "id": "03CACE9D-7194-468B-A5CE-93F8FDCFAEBC" }, { @@ -49359,7 +49359,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "6957BFF0-9BFC-4795-874F-E6B35915591B" }, { @@ -49377,7 +49377,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "ACE1A026-7B03-47C9-A851-11DB4542F7F8" }, { @@ -49395,7 +49395,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "76F9D55C-6C5D-4210-AA8E-DE5278F0E20F" }, { @@ -49413,7 +49413,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "743CD74E-39B2-4871-BA0D-B129714705D5" }, { @@ -49431,7 +49431,7 @@ "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "BE09D493-E183-402D-ACC4-EEA21EB35B8E", "id": "EA9DFC2F-AAF7-4B40-B5D1-2B700363A56C" }, { @@ -51656,7 +51656,7 @@ } }, "defKey": "cms_edge_grinding", - "defName": "鍒�鍏蜂慨纾�/鍒冪(", + "defName": "鍒�鍏蜂慨纾�", "comment": "", "properties": { "partitioned by": "(date string)", @@ -60831,6 +60831,24 @@ "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098" }, { + "defKey": "material_id", + "defName": "鐢熶骇鐗╂枡ID", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "16120F75-6AA7-4483-868D-F07F511BB081", + "id": "EFEC5173-378A-4906-A188-D10BF32BFF79" + }, + { "defKey": "material_number", "defName": "鐗╂枡缂栫爜", "comment": "", @@ -60888,7 +60906,7 @@ }, { "defKey": "usage_unit", - "defName": "鍗曚綅鐢ㄩ噺", + "defName": "闇�姹傜敤閲�", "comment": "", "type": "", "len": "", @@ -60899,9 +60917,9 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4", "id": "8587A030-35FB-43D2-BDAC-8854430E60BB" } ], @@ -61260,42 +61278,6 @@ "id": "D289B913-6D18-4B25-A874-F2D6C4851638" }, { - "defKey": "factory_id", - "defName": "浜х嚎ID", - "comment": "", - "type": "", - "len": "", - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", - "extProps": {}, - "domain": "16120F75-6AA7-4483-868D-F07F511BB081", - "id": "BF32A63E-E233-466C-AADF-E86C542EBB80" - }, - { - "defKey": "warehose_id", - "defName": "绾胯竟浠揑D", - "comment": "", - "type": "", - "len": "", - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", - "extProps": {}, - "domain": "16120F75-6AA7-4483-868D-F07F511BB081", - "id": "EAC48250-72AD-4BE9-8FD4-44FA24C8CE22" - }, - { "defKey": "material_unit", "defName": "鍗曚綅", "comment": "", @@ -61561,7 +61543,7 @@ { "defKey": "inventory_category", "defName": "搴撳瓨绫诲瀷", - "comment": "鍏ュ簱銆佷笂鏂欍�佷笅鏂�", + "comment": "鍏ュ簱銆佷笅鏂�", "type": "", "len": "", "scale": "", @@ -61593,6 +61575,24 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "1E6C9DB4-C399-4E62-83B3-2A92E1B3DD7D" + }, + { + "defKey": "warehouse_id", + "defName": "搴撳瓨鍦癐D", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "id": "59203E43-D518-4709-9315-BB3A8578FECE" }, { "defKey": "inventory_status", @@ -61892,6 +61892,34 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "33F2BEB0-416D-4A2F-8098-32E3F179755C" + }, + { + "defKey": "warehouse_id", + "defName": "搴撳瓨鍦癐D", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "5F007840-3FAA-4E5B-85FE-79A2DA8E8948", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" }, { "defKey": "material_number", @@ -62359,6 +62387,34 @@ "id": "9056CBAC-AC31-46AC-802D-7ECC455F7834" }, { + "defKey": "batch_number", + "defName": "鎵规鍙�", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "9B4B24DD-A18A-4A23-8976-898E0C77297A", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + }, + { "defKey": "outbound_staff", "defName": "鍑哄簱浜�", "comment": "", @@ -62731,7 +62787,7 @@ }, { "defKey": "factory_id", - "defName": "宸ュ巶/浜х嚎ID", + "defName": "浜х嚎ID", "comment": "", "type": "", "len": "", -- Gitblit v1.9.3