From 39378fc3ede2a8c3b3dc144869615c43278b9b9d Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期二, 01 七月 2025 14:10:14 +0800
Subject: [PATCH] art: 数据库设计修改

---
 db/双林新火炬MES数据库设计.pdma.json |   90 ++++++++++++++++++++++++++++++++++++++------
 1 files changed, 77 insertions(+), 13 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 dc2c27d..b5b383c 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-25 17:44:46",
+  "updatedTime": "2025-7-1 14:09:08",
   "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)",
@@ -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"
         }
       ],
@@ -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"
         }
       ],
@@ -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"
         }
       ],
@@ -61559,6 +61577,24 @@
           "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",
           "defName": "搴撳瓨鐘舵��",
           "comment": "姝e父銆佸凡鍑哄簱",
@@ -61856,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",
@@ -62723,7 +62787,7 @@
         },
         {
           "defKey": "factory_id",
-          "defName": "宸ュ巶/浜х嚎ID",
+          "defName": "浜х嚎ID",
           "comment": "",
           "type": "",
           "len": "",

--
Gitblit v1.9.3