From 498d8887ed5cce10264418f9d347f65b9ab4cbcc Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期六, 07 六月 2025 09:48:48 +0800 Subject: [PATCH] art: 设备管理-设备维修数据库设计修改 --- db/数据库产品化设计.pdma.json | 564 +++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 491 insertions(+), 73 deletions(-) diff --git "a/db/\346\225\260\346\215\256\345\272\223\344\272\247\345\223\201\345\214\226\350\256\276\350\256\241.pdma.json" "b/db/\346\225\260\346\215\256\345\272\223\344\272\247\345\223\201\345\214\226\350\256\276\350\256\241.pdma.json" index 8aa294d..1253954 100644 --- "a/db/\346\225\260\346\215\256\345\272\223\344\272\247\345\223\201\345\214\226\350\256\276\350\256\241.pdma.json" +++ "b/db/\346\225\260\346\215\256\345\272\223\344\272\247\345\223\201\345\214\226\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-5-20 16:52:50", + "updatedTime": "2025-6-6 10:13:46", "dbConns": [], "profile": { "default": { @@ -632,7 +632,7 @@ "#DDE5FF" ], "DDLToggleCase": "L", - "menuWidth": "336px" + "menuWidth": "361px" }, "entities": [ { @@ -9136,7 +9136,25 @@ "id": "A0BDDC8D-57C6-4021-966A-BA5098035FDE" }, { - "defKey": "equipment_precision_id", + "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": "1BB5AD12-4251-4DEE-82C5-4BB725C69714" + }, + { + "defKey": "parameter_id", "defName": "绮惧害鍙傛暟id", "comment": "", "type": "", @@ -9152,6 +9170,24 @@ "extProps": {}, "domain": "16120F75-6AA7-4483-868D-F07F511BB081", "id": "AC662F40-C243-4072-BD4D-8CBB465C2B41" + }, + { + "defKey": "parameter_value", + "defName": "鍏佸樊鍊�(mm)", + "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": "51EB67FF-6C51-4E31-A599-7C79AA38BF12" }, { "defKey": "actual_value", @@ -10684,6 +10720,24 @@ "id": "F0A26536-E486-44CE-A4D8-874A7753D20D" }, { + "defKey": "internal_repair_flag", + "defName": "鍐呴儴缁翠慨鏍囪", + "comment": "", + "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": "74A93393-824F-4652-9A66-E9BA869A03A9" + }, + { "defKey": "fault_reason", "defName": "鏁呴殰鍘熷洜", "comment": "", @@ -10738,26 +10792,8 @@ "id": "39B6A4DB-4B2F-4997-BE68-04267F517AD6" }, { - "defKey": "outsourced_flag", - "defName": "鏄惁濮斿", - "comment": "", - "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": "DA146E97-BBC5-4384-A5BB-DDC93B583CE5" - }, - { - "defKey": "outsourced_repair_decription", - "defName": "濮斿缁翠慨鎻忚堪", + "defKey": "leader_user", + "defName": "纭棰嗗", "comment": "", "type": "", "len": "", @@ -10771,11 +10807,11 @@ "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", - "id": "69CB22EB-2B80-49A7-B805-7C4F1F1C1CB2" + "id": "BE863706-C9DD-45D3-9303-4180F1A444E2" }, { - "defKey": "outsourced_start_time", - "defName": "濮斿缁翠慨寮�濮嬫椂闂�", + "defKey": "leader_confirm", + "defName": "棰嗗纭缁撴灉", "comment": "", "type": "", "len": "", @@ -10786,14 +10822,14 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", - "id": "FA66CD6A-B56E-4498-B9CA-51DFE0C04AE5" + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "id": "958A9D56-586D-483A-B670-EA3351BEEF50" }, { - "defKey": "outsourced_end_time", - "defName": "濮斿缁翠慨缁撴潫鏃堕棿", + "defKey": "leader_confirm_comment", + "defName": "棰嗗鎰忚", "comment": "", "type": "", "len": "", @@ -10804,13 +10840,103 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, - "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", - "id": "C48C41A7-1AC7-43E4-98D8-DEFEE359B4AA" + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "id": "F7BAD961-9011-4A25-B80B-7D6865B93F92" }, { - "defKey": "outsourced_person", + "defKey": "leader_confirm_time", + "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": "32CAA017-36BD-4EB3-B4E5-88F972CEE9CD" + }, + { + "defKey": "external_repairer", + "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": "AC27EA79-E7DA-4B72-B39B-8ECA8D968958" + }, + { + "defKey": "external_confirm", + "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": "ED829432-3B4C-49D4-8B91-05DF171070E9" + }, + { + "defKey": "external_confirm_comment", + "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": "16D85E43-DC62-4809-BC8C-8274A8EACD4C" + }, + { + "defKey": "external_confirm_time", + "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": "1FFC3F79-6226-4B7C-9F96-233CCEB9FE6E" + }, + { + "defKey": "outsourced_user", "defName": "濮斿璐熻矗浜�", "comment": "", "type": "", @@ -10854,42 +10980,6 @@ "attr9": "", "id": "F12C512D-9550-40EA-8583-C6476F69C135", "baseType": "B17BDED3-085F-40E1-9019-3B79CF2BF075" - }, - { - "defKey": "is_use_spare", - "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": "36816184-4B15-4AC7-A460-4E8EC004871D" - }, - { - "defKey": "spare_part_description", - "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": "3945E6D0-A58E-4B40-AFDA-6D8D477DE78F" } ], "correlations": [], @@ -12331,6 +12421,24 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "FC0C30BA-AA78-41F8-A683-B7D2562934F1" + }, + { + "defKey": "return_comment", + "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": "5177F684-EFAD-42F4-B1BC-50E1E312B58C" } ], "correlations": [], @@ -12794,6 +12902,150 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "167FF00A-3AB4-4A25-A0FA-922481A35D9F" + }, + { + "defKey": "approval_deal_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": "5AE732AE-B9E0-47C0-A565-FA1EBC7940D3" + }, + { + "defKey": "approval_comment", + "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": "295D3DAE-28E0-4DCE-A0A0-839F87F534F4" + }, + { + "defKey": "unseal_report_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": "FAE53488-7B2A-4F16-8CBF-DB9B774DF33F" + }, + { + "defKey": "unseal_reason", + "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": "4DDCB07F-1FEC-4A22-84BD-A45D7C7925B2" + }, + { + "defKey": "unseal_approval_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": "68C346D8-EA2A-4E46-A4B5-16787C79ECBA" + }, + { + "defKey": "unseal_approval_time", + "defName": "鍚皝瀹℃牳鏃堕棿", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": "", + "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098", + "extProps": {}, + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "id": "51A953E1-6435-413B-AADF-8D695130618D" + }, + { + "defKey": "unseal_approval_deal_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": "A171B3A4-A12B-4A45-B064-BA63BD77B8EF" + }, + { + "defKey": "unseal_approval_comment", + "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": "DF17CC8C-26B1-4627-A980-C1E13C787A02" } ], "correlations": [], @@ -13275,6 +13527,62 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "66B3E2F7-B450-4D20-B3B2-5F6E80F99110" + }, + { + "defKey": "approval_deal_type", + "defName": "瀹℃牳绫诲瀷", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "3F991F63-D842-4D0B-86BD-4CAEB0F1D33D", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + }, + { + "defKey": "approval_comment", + "defName": "瀹℃牳鎰忚", + "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": "A885F9EB-FAAE-4D76-ACF5-8E6CBCBA02DD", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" } ], "correlations": [], @@ -13756,6 +14064,62 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "45EE18F4-2F86-4D31-A5A1-FE3C95BDE686" + }, + { + "defKey": "approval_deal_type", + "defName": "瀹℃牳绫诲瀷", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "74BA9D2B-0477-46CD-9CD1-0E74A864D8B1", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + }, + { + "defKey": "scrap_status", + "defName": "鎶ュ簾锛堣浆璁╋級鐘舵��", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", + "refDict": "", + "extProps": {}, + "notes": {}, + "attr1": "", + "attr2": "", + "attr3": "", + "attr4": "", + "attr5": "", + "attr6": "", + "attr7": "", + "attr8": "", + "attr9": "", + "id": "3147B647-8FB7-41C0-B032-DC415CA853B1", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" } ], "correlations": [], @@ -14959,6 +15323,24 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "00B8A82A-3C40-4DA3-927F-D5F8460E2A72" + }, + { + "defKey": "spare_part_into_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": "7EB4AF36-3551-4569-A5F7-F7D65AE872A6" } ], "correlations": [], @@ -16393,6 +16775,24 @@ "extProps": {}, "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", "id": "91624DED-AA10-4D87-8D69-7E8DCEE9AFA0" + }, + { + "defKey": "spare_part_receive_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": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "367754DE-79B2-4610-8AC8-E9D6D016D764" } ], "correlations": [], @@ -16676,8 +17076,8 @@ "id": "0B8261B7-C8DA-4A5E-910D-9F86FFE80053" }, { - "defKey": "inventory_id", - "defName": "搴撳瓨ID", + "defKey": "spare_parts_id", + "defName": "澶囦欢ID", "comment": "", "type": "", "len": "", @@ -16802,6 +17202,24 @@ "attr9": "", "id": "C45C1700-635C-4F3B-B92F-D488BB4BB27A", "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098" + }, + { + "defKey": "scrap_status", + "defName": "鎶ュ簾鐘舵��", + "comment": "1锛氬緟鎶ュ簾锛�2锛氬凡鎶ュ簾", + "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": "DD95E111-E409-44AE-A481-B88D5ED11766" } ], "correlations": [], -- Gitblit v1.9.3