From d3749bb6d1cf618ac0c5dafe09160d76dd2d3e26 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期一, 12 五月 2025 14:15:14 +0800 Subject: [PATCH] art: 设备管理-周保-增加抽检标记字段 --- db/数据库产品化设计.pdma.json | 556 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 531 insertions(+), 25 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 6fe6cc7..e7d8599 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-4-15 16:12:47", + "updatedTime": "2025-5-12 11:36:20", "dbConns": [], "profile": { "default": { @@ -3923,9 +3923,9 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "baseType": "B17BDED3-085F-40E1-9019-3B79CF2BF075", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "id": "5576D652-16B0-4098-A22E-0B2F5EF98107" } ], @@ -4717,8 +4717,44 @@ "id": "9E1E21C7-514F-491B-AFD8-BB810BB8D06C" }, { + "defKey": "confirm_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": "0C006924-8415-4148-919E-3EF09EB76D5D" + }, + { + "defKey": "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": "98BA313C-F5DE-438E-9F58-133F1EE63002" + }, + { "defKey": "confirm_user", - "defName": "璁惧绠$悊鍛樼‘璁�", + "defName": "鐝粍闀跨‘璁�", "comment": "", "type": "", "len": "", @@ -4773,7 +4809,7 @@ { "defKey": "image_files", "defName": "鐓х墖鏂囦欢ids", - "comment": "id浠ラ�楀彿鍒嗛殧", + "comment": "", "type": "", "len": "", "scale": "", @@ -4783,9 +4819,9 @@ "defaultValue": "", "hideInGraph": false, "refDict": "", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "baseType": "B17BDED3-085F-40E1-9019-3B79CF2BF075", "extProps": {}, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "id": "F42A4411-75B9-4486-8B8D-98A86DB0F861" } ], @@ -5709,8 +5745,8 @@ { "defKey": "image_files", "defName": "鐓х墖鏂囦欢ids", - "comment": "id浠ラ�楀彿鍒嗛殧", - "type": "NVARCHAR(MAX)", + "comment": "", + "type": "", "len": "", "scale": "", "primaryKey": false, @@ -5718,7 +5754,7 @@ "autoIncrement": false, "defaultValue": "", "hideInGraph": false, - "domain": "", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "refDict": "", "extProps": {}, "notes": {}, @@ -6173,8 +6209,8 @@ { "defKey": "image_files", "defName": "淇濆吇鎵ц鍥剧墖", - "comment": "id浠ラ�楀彿鍒嗛殧", - "type": "NVARCHAR(MAX)", + "comment": "", + "type": "", "len": "", "scale": "", "primaryKey": false, @@ -6182,7 +6218,7 @@ "autoIncrement": false, "defaultValue": "", "hideInGraph": false, - "domain": "", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "refDict": null, "extProps": {}, "notes": {}, @@ -6504,6 +6540,24 @@ "extProps": {}, "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "id": "C33F90DB-84F7-4B0C-A461-8CE40FA3FD5E" + }, + { + "defKey": "random_inspection_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": "0E8BCFE4-33F4-4DF0-B95E-052E264363A6" } ], "correlations": [], @@ -7923,7 +7977,7 @@ { "defKey": "image_files", "defName": "鐓х墖鏂囦欢ids", - "comment": "id浠ラ�楀彿鍒嗛殧", + "comment": "", "type": "", "len": "", "scale": "", @@ -7932,7 +7986,7 @@ "autoIncrement": false, "defaultValue": "", "hideInGraph": false, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "refDict": "", "extProps": {}, "notes": {}, @@ -7946,7 +8000,7 @@ "attr8": "", "attr9": "", "id": "4D8E08DB-BB54-49DE-A079-8B5F92964F14", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + "baseType": "B17BDED3-085F-40E1-9019-3B79CF2BF075" }, { "defKey": "remark", @@ -9752,6 +9806,24 @@ "id": "522BCC0E-5AE9-4473-BE36-A68202A7E1ED" }, { + "defKey": "fault_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": "A55D711F-243B-4B6B-84E0-471527DAE875" + }, + { "defKey": "fault_type", "defName": "鏁呴殰鍒嗙被", "comment": "", @@ -9808,7 +9880,7 @@ { "defKey": "image_files", "defName": "鐓х墖鏂囦欢ids", - "comment": "id浠ラ�楀彿鍒嗛殧", + "comment": "", "type": "", "len": "", "scale": "", @@ -9817,7 +9889,7 @@ "autoIncrement": false, "defaultValue": "", "hideInGraph": false, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "refDict": "", "extProps": {}, "notes": {}, @@ -9831,7 +9903,7 @@ "attr8": "", "attr9": "", "id": "0552EC0A-4846-49B3-BA5A-6049CD295D13", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + "baseType": "B17BDED3-085F-40E1-9019-3B79CF2BF075" }, { "defKey": "remark", @@ -10369,7 +10441,7 @@ { "defKey": "image_files", "defName": "鐓х墖鏂囦欢ids", - "comment": "id浠ラ�楀彿鍒嗛殧", + "comment": "", "type": "", "len": "", "scale": "", @@ -10378,7 +10450,7 @@ "autoIncrement": false, "defaultValue": "", "hideInGraph": false, - "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "domain": "13DE7063-440C-426F-B1DF-25EC824C6DB8", "refDict": "", "extProps": {}, "notes": {}, @@ -10392,7 +10464,43 @@ "attr8": "", "attr9": "", "id": "F12C512D-9550-40EA-8583-C6476F69C135", - "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + "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": [], @@ -16163,8 +16271,8 @@ "codeRoot": "" } }, - "defKey": "eam_sys_files", - "defName": "璁惧绠$悊闄勪欢琛�", + "defKey": "eam_equipment_attachment", + "defName": "璁惧鏂囨。", "comment": "", "properties": { "partitioned by": "(date string)", @@ -16414,6 +16522,24 @@ "id": "AE037CD2-F1D7-43A9-8AA7-0B6556CABB47" }, { + "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": "F0AA43F9-BB17-41C9-B5A3-9946067055FC" + }, + { "defKey": "file_encode_name", "defName": "鏂囦欢鍔犲瘑鍚�", "comment": "", @@ -16478,7 +16604,7 @@ "notNull": false, "autoIncrement": false, "defaultValue": "", - "hideInGraph": false, + "hideInGraph": true, "refDict": "", "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", "extProps": {}, @@ -16520,6 +16646,385 @@ "extProps": {}, "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", "id": "5B36A3AD-359D-446C-87AD-338A4C6C0069" + } + ], + "correlations": [], + "indexes": [], + "type": "P" + }, + { + "id": "9D0C5472-CECA-4676-8F92-5AD1D03EE367", + "env": { + "base": { + "nameSpace": "", + "codeRoot": "" + } + }, + "defKey": "eam_sys_files", + "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": null, + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "16120F75-6AA7-4483-868D-F07F511BB081", + "id": "3699A3C0-B0E2-4461-BD22-F00D9CCDF981", + "uiHint": null + }, + { + "defKey": "create_by", + "defName": "鍒涘缓浜�", + "comment": "", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": true, + "refDict": null, + "uiHint": null, + "id": "66AAE852-A01A-45C5-86FD-CBDAC090207B", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + }, + { + "defKey": "create_time", + "defName": "鍒涘缓鏃堕棿", + "comment": "", + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": true, + "refDict": null, + "uiHint": null, + "id": "E5DF786B-CDF8-4C7C-9000-F9DF66EB0B61", + "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098" + }, + { + "defKey": "update_by", + "defName": "鏇存柊浜�", + "comment": "", + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": true, + "refDict": null, + "uiHint": null, + "id": "71FE4281-BBF4-498D-9575-B86D7FBFE279", + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" + }, + { + "defKey": "update_time", + "defName": "鏇存柊鏃堕棿", + "comment": "", + "domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": true, + "refDict": null, + "uiHint": null, + "id": "52F980A8-0036-4FA4-AC68-3B207A828060", + "baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098" + }, + { + "defKey": "del_flag", + "defName": "鍒犻櫎鏍囪", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811", + "extProps": {}, + "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E", + "id": "E05B0E7B-556F-47E0-912A-074924FE90EF", + "uiHint": null + }, + { + "defKey": "file_encode_name", + "defName": "鏂囦欢鍔犲瘑鍚�", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "BE09D493-E183-402D-ACC4-EEA21EB35B8E", + "id": "01499664-437B-40BF-A2D1-9D931D731984", + "uiHint": null + }, + { + "defKey": "file_name", + "defName": "鏂囦欢鍚嶇О", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "BE09D493-E183-402D-ACC4-EEA21EB35B8E", + "id": "A3FD9D88-56A8-43D4-94EF-12E2F73DA4E1", + "uiHint": null + }, + { + "defKey": "file_path", + "defName": "鏂囦欢淇濆瓨璺緞", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "id": "D3320083-11F8-4A4C-B03D-24E7EB18A527", + "uiHint": null + }, + { + "defKey": "file_suffix", + "defName": "鏂囦欢鍚庣紑鍚�", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "54611CCC-CA4B-42E1-9F32-4944C85B85A6", + "id": "2232DE73-B928-4576-A3F7-99DAC095ABD2", + "uiHint": null + }, + { + "defKey": "file_size", + "defName": "鏂囦欢澶у皬", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "A48A12F5-2E10-4F0A-8449-60887F0D30E0", + "extProps": {}, + "domain": "2E60DFAE-915E-4328-AEE2-6ED5FB43BAF5", + "id": "07C7567D-6B96-432A-BE2C-54AFA4293E9F", + "uiHint": null + }, + { + "defKey": "description", + "defName": "鎻忚堪", + "comment": "", + "type": "", + "len": "", + "scale": "", + "primaryKey": false, + "notNull": false, + "autoIncrement": false, + "defaultValue": "", + "hideInGraph": false, + "refDict": null, + "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64", + "extProps": {}, + "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573", + "id": "D9B55620-8B6D-48E0-A284-0BD9BF4B062F", + "uiHint": null } ], "correlations": [], @@ -17974,6 +18479,7 @@ "refEntities": [ "74D17B8E-6DA8-477B-810C-EC8B3FBF53F2", "B2E5D0C4-4FF7-4221-8366-FC7B31B7411A", + "9D0C5472-CECA-4676-8F92-5AD1D03EE367", "257DC169-B593-4D03-8FE4-6AF75C335A93", "B9F80758-3E0D-4350-9DA0-C2D82DC2912A", "759CE3A5-4823-4215-B14F-5D26B6FA0B58", -- Gitblit v1.9.3