From d5420a8fef6d680e5bdce86b36cb8e90d7e22419 Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期六, 16 八月 2025 09:49:25 +0800
Subject: [PATCH] 安灯发起-工单-飞书发送消息(一级响应/二级响应/三级响应) 飞书安灯消息模板相关代码

---
 db/双林新火炬MES数据库设计.pdma.json |  249 +++++++++++++++++++++++++++++++++----------------
 1 files changed, 169 insertions(+), 80 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 7d4739c..18fd831 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-8-6 09:15:51",
+  "updatedTime": "2025-8-15 14:58:22",
   "dbConns": [],
   "profile": {
     "default": {
@@ -10984,6 +10984,42 @@
           "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",
           "defName": "澶囨敞",
           "comment": "",
@@ -11431,7 +11467,7 @@
         {
           "defKey": "work_order_status",
           "defName": "宸ュ崟鐘舵��",
-          "comment": "鏂板缓銆佸凡鍙戝竷銆侀噸鍙戝竷",
+          "comment": "鏂板缓銆佸凡鍙戝竷銆佹墽琛屼腑銆佸凡鍏抽棴",
           "type": "",
           "len": "",
           "scale": "",
@@ -11445,6 +11481,60 @@
           "extProps": {},
           "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792",
           "id": "2150E931-22A6-452C-BD42-54A37E0A5968"
+        },
+        {
+          "defKey": "completeness_check_flag",
+          "defName": "鏄惁閫氳繃榻愬鎬ф鏌�",
+          "comment": "0鍚�1鏄�",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "refDict": "",
+          "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
+          "extProps": {},
+          "domain": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF",
+          "id": "D9F104A5-0DF1-40FB-8F0D-850E0E0C7EC6"
+        },
+        {
+          "defKey": "equipment_inspection_flag",
+          "defName": "鏄惁閫氳繃璁惧鐐规",
+          "comment": "0鍚�1鏄�",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "refDict": "",
+          "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
+          "extProps": {},
+          "domain": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF",
+          "id": "CAF6B87F-AC08-41D7-867B-31B6906A35FC"
+        },
+        {
+          "defKey": "process_inspection_flag",
+          "defName": "鏄惁閫氳繃宸ヨ壓鐐规",
+          "comment": "0鍚�1鏄�",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "refDict": "",
+          "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
+          "extProps": {},
+          "domain": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF",
+          "id": "17F725F0-ADC2-4265-9136-125AE1FDA8CA"
         },
         {
           "defKey": "actual_quantity",
@@ -11535,6 +11625,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": [],
@@ -28071,6 +28179,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": [
@@ -28244,7 +28370,8 @@
           "hideInGraph": true
         }
       ],
-      "correlations": []
+      "correlations": [],
+      "notes": {}
     },
     {
       "id": "ADF40C7F-5C97-4196-BCA7-E780FCC8E2FB",
@@ -46004,6 +46131,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": "",
@@ -61035,7 +61180,7 @@
           "codeRoot": ""
         }
       },
-      "defKey": "lsw_鈥媘aterial",
+      "defKey": "lsw_material",
       "defName": "绾胯竟搴撶墿鏂欎俊鎭�",
       "comment": "",
       "properties": {
@@ -61342,27 +61487,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": "",
@@ -61394,6 +61521,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": [],
@@ -62163,7 +62308,7 @@
         }
       },
       "defKey": "lsw_material_outbound",
-      "defName": "鐗╂枡鍑哄簱鍗�",
+      "defName": "鐗╂枡鍑哄簱",
       "comment": "",
       "properties": {
         "partitioned by": "(date string)",
@@ -69010,62 +69155,6 @@
           "extProps": {},
           "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
           "id": "44DE427C-593D-4B26-9234-439856496089"
-        },
-        {
-          "defKey": "create_by",
-          "defName": "鍒涘缓浜�",
-          "comment": "",
-          "type": "",
-          "len": "",
-          "scale": "",
-          "primaryKey": false,
-          "notNull": false,
-          "autoIncrement": false,
-          "defaultValue": "",
-          "hideInGraph": true,
-          "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6",
-          "refDict": "",
-          "extProps": {},
-          "notes": {},
-          "attr1": "",
-          "attr2": "",
-          "attr3": "",
-          "attr4": "",
-          "attr5": "",
-          "attr6": "",
-          "attr7": "",
-          "attr8": "",
-          "attr9": "",
-          "id": "5608B983-CDEF-4EC9-8AFA-A2256ED6BBD1",
-          "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
-        },
-        {
-          "defKey": "create_time",
-          "defName": "鍒涘缓鏃堕棿",
-          "comment": "",
-          "type": "",
-          "len": "",
-          "scale": "",
-          "primaryKey": false,
-          "notNull": false,
-          "autoIncrement": false,
-          "defaultValue": "",
-          "hideInGraph": true,
-          "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
-          "refDict": "",
-          "extProps": {},
-          "notes": {},
-          "attr1": "",
-          "attr2": "",
-          "attr3": "",
-          "attr4": "",
-          "attr5": "",
-          "attr6": "",
-          "attr7": "",
-          "attr8": "",
-          "attr9": "",
-          "id": "C143F461-8555-4EC3-8348-43B8325CA668",
-          "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
         },
         {
           "defKey": "factory_id",

--
Gitblit v1.9.3