From 7b4a69eb0cba7ea39162772c9617a66e21719736 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期四, 14 八月 2025 20:44:36 +0800 Subject: [PATCH] art: 物料信息代码修改,增加编辑、启用、禁用 --- db/双林新火炬MES数据库设计.pdma.json | 571 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 486 insertions(+), 85 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 eef16dd..0ecc5be 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-7-30 14:19:17", + "updatedTime": "2025-8-14 16:47:35", "dbConns": [], "profile": { "default": { @@ -10697,7 +10697,7 @@ }, { "defKey": "production_unit", - "defName": "浜у搧鍗曚綅", + "defName": "鍩烘湰璁¢噺鍗曚綅", "comment": "", "type": "", "len": "", @@ -10730,6 +10730,24 @@ "extProps": {}, "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", "id": "EA8BA140-CED8-4B45-8FCC-197817AA3590" + }, + { + "defKey": "order_status_name", + "defName": "璁㈠崟鐘舵�佹弿杩�", + "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": "F5A7DE2A-A683-4218-A1B5-9CDA18C273B7" }, { "defKey": "priority", @@ -10822,6 +10840,114 @@ "id": "4BF071F1-4F69-4044-8C17-25D7B66404F7" }, { + "defKey": "dispatcher_code", + "defName": "璋冨害鍛樼紪鍙�", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "09E4DA62-D2E3-4D82-9259-DCACA5C40FFD" + }, + { + "defKey": "dispatcher_name", + "defName": "璋冨害鍛樺悕绉�", + "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": "C700FB1A-B747-4E97-A7BE-0044C0B3B2EE" + }, + { + "defKey": "order_create_date", + "defName": "璁㈠崟鍒涘缓鏃ユ湡", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "BD647EC3-B32A-460E-A6D9-A4A1D808F849" + }, + { + "defKey": "order_update_date", + "defName": "璁㈠崟鏇存柊鏃ユ湡", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "E2F64B2D-D193-410E-83F5-7CA29FC2F1C7" + }, + { + "defKey": "order_update_time", + "defName": "璁㈠崟鏇存柊鏃堕棿", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "99C90188-1886-45E3-8A66-062CF8672F15" + }, + { + "defKey": "order_update_user", + "defName": "璁㈠崟淇敼浜�", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "57BE810E-5423-4B64-B5C4-914D4FC48965" + }, + { "defKey": "customer_order_model", "defName": "瀹㈡埛鍨嬪彿", "comment": "", @@ -10856,6 +10982,42 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "6E75C587-8628-4A76-BE8A-07CB2185F61B" + }, + { + "defKey": "qualified_quantity", + "defName": "鍚堟牸鏁伴噺", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E", + "extProps": {}, + "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4", + "id": "B4405701-40E7-4987-B540-759F22DC5A91" + }, + { + "defKey": "scrap_quantity", + "defName": "鎶ュ簾鏁伴噺", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E", + "extProps": {}, + "domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4", + "id": "48F2218D-6129-47BF-85BA-72737EEDCCAC" }, { "defKey": "remark", @@ -11305,7 +11467,7 @@ { "defKey": "work_order_status", "defName": "宸ュ崟鐘舵��", - "comment": "鏂板缓銆佸彂甯冦�侀噸鍙戝竷", + "comment": "鏂板缓銆佸凡鍙戝竷銆侀噸鍙戝竷", "type": "", "len": "", "scale": "", @@ -11409,6 +11571,24 @@ "extProps": {}, "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", "id": "3319292F-3CC9-4D3A-B20F-1736BFE8DE66" + }, + { + "defKey": "republish_reason", + "defName": "閲嶅彂甯冨師鍥�", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "3E948CEC-3070-472C-AF92-F3CA11EC9D15", + "id": "2AED1385-ED6E-470E-98C0-2F077E1A3187" } ], "correlations": [], @@ -12045,8 +12225,8 @@ "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098" }, { - "defKey": "del_flag", - "defName": "鍒犻櫎鏍囪", + "defKey": "order_id", + "defName": "鐢熶骇璁㈠崟ID", "comment": "", "type": "", "len": "", @@ -12057,10 +12237,10 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E", - "id": "ABF02681-A2E7-4077-AEEF-7338AF47C4B8" + "domain": "16120F75-6AA7-4483-868D-F07F511BB081", + "id": "FE30BEF4-FD2C-477D-83B9-DAE0546C7D09" }, { "defKey": "material_number", @@ -12107,24 +12287,6 @@ "attr9": "", "id": "CADE8A93-4759-4DA5-8210-942102A9F18B", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" - }, - { - "defKey": "factory_id", - "defName": "浜х嚎ID(SAP宸ヤ綔涓績)", - "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": "F5683C11-B21C-44C4-AF88-2D9A92F7444F" }, { "defKey": "process_code", @@ -12426,24 +12588,6 @@ "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098" }, { - "defKey": "del_flag", - "defName": "鍒犻櫎鏍囪", - "comment": "", - "type": "", - "len": "", - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811", - "extProps": {}, - "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E", - "id": "B43CBCB3-5BC6-4411-9999-C50D2C6A8A5D" - }, - { "defKey": "order_id", "defName": "鐢熸垚璁㈠崟ID", "comment": "", @@ -12516,24 +12660,6 @@ "attr9": "", "id": "5428A165-EF43-40AF-B56F-9F75CBA47A0C", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" - }, - { - "defKey": "bill_materials_code", - "defName": "BOM浠g爜", - "comment": "", - "type": "", - "len": "", - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", - "extProps": {}, - "domain": "BE09D493-E183-402D-ACC4-EEA21EB35B8E", - "id": "07D7B55E-B88D-4493-B916-987978EA20D1" }, { "defKey": "production_unit", @@ -27999,6 +28125,24 @@ "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098", "extProps": {}, "uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE" + }, + { + "defKey": "open_id", + "defName": "椋炰功鐢ㄦ埛OPENID", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "BE09D493-E183-402D-ACC4-EEA21EB35B8E", + "id": "BDE72375-D196-41E2-A887-59B59C9A9479" } ], "indexes": [ @@ -28172,7 +28316,8 @@ "hideInGraph": true } ], - "correlations": [] + "correlations": [], + "notes": {} }, { "id": "ADF40C7F-5C97-4196-BCA7-E780FCC8E2FB", @@ -45932,6 +46077,24 @@ "id": "0CB6C93F-EE83-4ED0-B5C6-6207D79F1B01" }, { + "defKey": "production_type", + "defName": "浜х嚎绫诲瀷", + "comment": "瑁呴厤銆佸唴娉曞叞銆佸娉曞叞銆佺儹澶勭悊", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", + "id": "2F0654E7-0045-40B5-A2C8-79FDA3B02EC4" + }, + { "defKey": "sorter", "defName": "鎺掑簭", "comment": "", @@ -60905,7 +61068,35 @@ "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" }, { - "defKey": "usage_unit", + "defKey": "production_unit", + "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": "4F81E835-2971-44F0-872E-61BD47417674", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + }, + { + "defKey": "usage_quantity", "defName": "闇�姹傜敤閲�", "comment": "", "type": "", @@ -60935,7 +61126,7 @@ "codeRoot": "" } }, - "defKey": "lsw_鈥媘aterial", + "defKey": "lsw_material", "defName": "绾胯竟搴撶墿鏂欎俊鎭�", "comment": "", "properties": { @@ -61242,27 +61433,9 @@ "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" }, { - "defKey": "material_model", - "defName": "鐗╂枡鍨嬪彿", - "comment": "", - "type": "", - "len": "", - "scale": "", - "primaryKey": false, - "notNull": false, - "autoIncrement": false, - "defaultValue": "", - "hideInGraph": false, - "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", - "extProps": {}, - "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", - "id": "C2AF21CA-2BB0-4F88-9E66-F216401711A0" - }, - { "defKey": "material_category", "defName": "鐗╂枡绫诲瀷", - "comment": "鎴愬搧/鍗婃垚鍝�/姣涘澂/閰嶄欢", + "comment": "鎴愬搧/澶栨硶鍏�/鍐呮硶鍏�/姣涘澂/閰嶄欢", "type": "", "len": "", "scale": "", @@ -61294,6 +61467,24 @@ "extProps": {}, "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", "id": "11AE1590-5695-4C1E-A85F-72AAD8288740" + }, + { + "defKey": "material_status", + "defName": "鐘舵��", + "comment": "鍚敤銆佺鐢�", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", + "id": "D9381762-109B-4003-9520-FF30D6D1D2AF" } ], "correlations": [], @@ -62063,7 +62254,7 @@ } }, "defKey": "lsw_material_outbound", - "defName": "鐗╂枡鍑哄簱鍗�", + "defName": "鐗╂枡鍑哄簱", "comment": "", "properties": { "partitioned by": "(date string)", @@ -68742,6 +68933,215 @@ "correlations": [], "indexes": [], "type": "P" + }, + { + "id": "F7AF7249-4731-4AD6-8945-E47F8C9E475F", + "env": { + "base": { + "nameSpace": "", + "codeRoot": "" + } + }, + "defKey": "base_equipment_factory", + "defName": "璁惧浜х嚎鍏崇郴", + "comment": "", + "properties": { + "partitioned by": "(date string)", + "row format delimited": "", + "fields terminated by ','": "", + "collection items terminated by '-'": "", + "map keys terminated by ':'": "", + "store as textfile;": "" + }, + "sysProps": { + "nameTemplate": "{defKey}[{defName}]" + }, + "notes": {}, + "headers": [ + { + "refKey": "hideInGraph", + "hideInGraph": true + }, + { + "refKey": "defKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "defName", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "primaryKey", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "notNull", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "autoIncrement", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "domain", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "type", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "len", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "scale", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "comment", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "refDict", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "defaultValue", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "isStandard", + "freeze": false, + "hideInGraph": false + }, + { + "refKey": "uiHint", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "extProps", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr1", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr2", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr3", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr4", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr5", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr6", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr7", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr8", + "freeze": false, + "hideInGraph": true + }, + { + "refKey": "attr9", + "freeze": false, + "hideInGraph": true + } + ], + "fields": [ + { + "defKey": "id", + "defName": "涓婚敭", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": true, + "notNull": true, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "16120F75-6AA7-4483-868D-F07F511BB081", + "id": "44DE427C-593D-4B26-9234-439856496089" + }, + { + "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": "0C707EE6-25FD-4491-BC85-E762CBF05A5B" + }, + { + "defKey": "equipment_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": "30FD80BB-8064-4E71-9618-EE8129426849" + } + ], + "correlations": [], + "indexes": [], + "type": "P" } ], "views": [], @@ -69652,6 +70052,7 @@ "refEntities": [ "79D31715-38CF-4C28-A802-227567445F5C", "8CC17A99-333B-48F4-ABCC-915B4FDF8856", + "F7AF7249-4731-4AD6-8945-E47F8C9E475F", "99C7AF61-E25B-445D-8B46-5BDE45A45605", "CDDBE073-093D-4D6A-AB29-0B3538417EBA", "0CE184D5-6F92-4384-AE88-96C81A581F9E", -- Gitblit v1.9.3