| | |
| | | "avatar": "", |
| | | "version": "4.9.2", |
| | | "createdTime": "2025-3-10 16:38:19", |
| | | "updatedTime": "2025-7-17 19:49:48", |
| | | "updatedTime": "2025-7-18 10:53:30", |
| | | "dbConns": [], |
| | | "profile": { |
| | | "default": { |
| | |
| | | "attr9": "", |
| | | "id": "7A93E21A-C20B-4A97-B8BA-F983BB7B3AB3", |
| | | "baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64" |
| | | }, |
| | | { |
| | | "defKey": "remark", |
| | | "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": "7AE77D2E-92FF-4575-9D6A-AEDA522C77CA" |
| | | } |
| | | ], |
| | | "correlations": [], |
| | |
| | | "extProps": {}, |
| | | "domain": "73FD2BAD-2358-4336-B96D-45DC897BD792", |
| | | "id": "589C45F0-0F8C-4497-8999-A8314DE5D601" |
| | | }, |
| | | { |
| | | "defKey": "order_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": "153169DD-C196-48EC-B0B4-60626C830D64" |
| | | } |
| | | ], |
| | | "correlations": [], |
| | |
| | | "enable": true |
| | | } |
| | | ] |
| | | } |
| | | } |
| | |
| | | --ææ¯ç¶æé´å®ç¸å
³ç¼ç è§å |
| | | INSERT INTO [dbo].[sys_business_code_rule] ([id], [create_by], [create_time], [update_by], [update_time], [del_flag], [business_name], [business_code], [prefix], [year_format], [month_format], [day_format], [seq_length]) VALUES (N'1942396178475687937', N'admin', '2025-07-08 09:31:51.5660000', NULL, NULL, 0, N'ææ¯ç¶æé´å®è§èç¼ç è§å', N'TechnicalStatusStandardCodeRule', N'TSES', N'yyyy', NULL, NULL, 4); |
| | | INSERT INTO [dbo].[sys_business_code_rule] ([id], [create_by], [create_time], [update_by], [update_time], [del_flag], [business_name], [business_code], [prefix], [year_format], [month_format], [day_format], [seq_length]) VALUES (N'1943153060836503553', N'admin', '2025-07-10 11:39:26.4060000', NULL, NULL, 0, N'ææ¯ç¶æé´å®å·¥åç¼ç è§å', N'TechnicalStatusEvaluationOrderCodeRule', N'TSEO', N'yyyy', NULL, NULL, 4); |
| | | INSERT INTO [dbo].[sys_business_code_rule] ([id], [create_by], [create_time], [update_by], [update_time], [del_flag], [business_name], [business_code], [prefix], [year_format], [month_format], [day_format], [seq_length]) VALUES (N'1946025937108844545', N'admin', '2025-07-18 09:55:13.4730000', NULL, NULL, 0, N'ææ¯ç¶æé´å®å·¥ååæ´ç¼ç è§å', N'TechnicalStatusEvaluationOrderChangeCodeRule', N'TSEOC', N'yyyy', NULL, NULL, 4); |
| | | INSERT INTO [dbo].[sys_business_code_rule] ([id], [create_by], [create_time], [update_by], [update_time], [del_flag], [business_name], [business_code], [prefix], [year_format], [month_format], [day_format], [seq_length]) VALUES (N'1946026069359443970', N'admin', '2025-07-18 09:55:45.0080000', NULL, NULL, 0, N'ææ¯ç¶æåæ´ç¼ç è§å', N'TechnicalStatusChangeCodeRule', N'TSC', N'yyyy', NULL, NULL, 4); |
| | | INSERT INTO [dbo].[sys_business_code_rule] ([id], [create_by], [create_time], [update_by], [update_time], [del_flag], [business_name], [business_code], [prefix], [year_format], [month_format], [day_format], [seq_length]) VALUES (N'1946026402634645506', N'admin', '2025-07-18 09:57:04.4710000', NULL, NULL, 0, N'ææ¯ç¶æé´å®ç³è¯·ç¼ç è§å', N'TechnicalStatusEvaluationApplyCodeRule', N'TSEA', N'yyyy', NULL, NULL, 4); |
| | | INSERT INTO [dbo].[sys_business_code_rule] ([id], [create_by], [create_time], [update_by], [update_time], [del_flag], [business_name], [business_code], [prefix], [year_format], [month_format], [day_format], [seq_length]) VALUES (N'1946026519441817602', N'admin', '2025-07-18 09:57:32.3160000', NULL, NULL, 0, N'åç¨å 工设å¤ç³è¯·ç¼ç è§å', N'TechnicalStatusDeactivateCodeRule', N'TSD', N'yyyy', NULL, NULL, 4); |
| | |
| | | |
| | | |
| | | --ææ¯ç¶æé´å®å·¥ååæ´ |
| | | IF EXISTS (SELECT * |
| | | FROM sys.objects |
| | | WHERE object_id = OBJECT_ID(N'[dbo].[eam_technical_status_evaluation_order_change]') |
| | | AND type in (N'U')) |
| | | DROP TABLE [dbo].[eam_technical_status_evaluation_order_change]; |
| | | CREATE TABLE [dbo].[eam_technical_status_evaluation_order_change] |
| | | ( |
| | | id NVARCHAR(32) NOT NULL, |
| | | create_by NVARCHAR(50), |
| | | create_time DATETIME2, |
| | | update_by NVARCHAR(50), |
| | | update_time DATETIME2, |
| | | del_flag INT, |
| | | order_id NVARCHAR(32), |
| | | change_order_num NVARCHAR(100), |
| | | applicant NVARCHAR(50), |
| | | factory_org_code NVARCHAR(100), |
| | | apply_date DATETIME2, |
| | | change_status NVARCHAR(64), |
| | | apply_reason NVARCHAR(64), |
| | | deferred_maintenance_date DATETIME2, |
| | | equipment_manager_signature NVARCHAR(50), |
| | | equipment_manager_signature_time DATETIME2, |
| | | depart_manager_signature NVARCHAR(50), |
| | | depart_manager_signature_time DATETIME2, |
| | | depart_manager_comment NVARCHAR(255), |
| | | production_support_signature NVARCHAR(50), |
| | | production_support_signature_time DATETIME2, |
| | | production_support_comment NVARCHAR(255), |
| | | hf_code NVARCHAR(100), |
| | | PRIMARY KEY (id) |
| | | ); |
| | | [id] nvarchar(32) COLLATE Chinese_PRC_CI_AS NOT NULL, |
| | | [create_by] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [create_time] datetime2(7) NULL, |
| | | [update_by] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [update_time] datetime2(7) NULL, |
| | | [del_flag] int NULL, |
| | | [order_id] nvarchar(32) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [equipment_id] nvarchar(32) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [change_order_num] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [applicant] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [factory_org_code] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [apply_date] datetime2(7) NULL, |
| | | [change_status] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [apply_reason] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [deferred_evaluation_date] datetime2(7) NULL, |
| | | [equipment_manager_signature] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [equipment_manager_signature_time] datetime2(7) NULL, |
| | | [equipment_manager_signature_result] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [equipment_manager_comment] nvarchar(255) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_manager_signature] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_manager_signature_time] datetime2(7) NULL, |
| | | [depart_manager_signature_result] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_manager_comment] nvarchar(255) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [production_support_signature] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [production_support_signature_time] datetime2(7) NULL, |
| | | [production_support_signature_result] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [production_support_comment] nvarchar(255) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [hf_code] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL, |
| | | CONSTRAINT [PK__eam_tech__3213E83FFE6D6178] PRIMARY KEY CLUSTERED ([id]) |
| | | WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) |
| | | ON [PRIMARY] |
| | | ) |
| | | ON [PRIMARY] |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ææ¯ç¶æé´å®å·¥ååæ´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, null, null; |
| | | EXEC sp_addextendedproperty 'MS_Description', '主é®', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', id; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å建人', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', create_by; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å建æ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', create_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'æ´æ°äºº', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', update_by; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'æ´æ°æ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', update_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å 餿 è®°', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', del_flag; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å·¥åID', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', order_id; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'åæ´åå·', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', change_order_num; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç³è¯·äºº', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', applicant; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç³è¯·é¨é¨', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', factory_org_code; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç³è¯·æ¥æ', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', apply_date; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'åæ´ç¶æ;å¾
æäº¤ãå¾
ä¸»ç®¡å®¡æ ¸ãå¾
é¨é¨ç¡®è®¤ãå¾
ä¿éé¨ç¡®è®¤ãå·²ä½åºã已宿', |
| | | 'SCHEMA', dbo, 'table', eam_technical_status_evaluation_order_change, 'column', change_status; |
| | | EXEC sp_addextendedproperty 'MS_Description', |
| | | 'åæ´åå ;çäº§ä»»å¡æ¥æ æ³åæºãè®¾å¤æ
鿣å¤äºç»´ä¿®ç¶æã设å¤å·²æ¥åºã设å¤å¤§ä¿®ãæ¬è¿ãæ¹é ', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', apply_reason; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'åæ´é´å®æ¥æ', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', deferred_maintenance_date; |
| | | EXEC sp_addextendedproperty 'MS_Description', '主管é¢å¯¼ç¾å', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', equipment_manager_signature; |
| | | EXEC sp_addextendedproperty 'MS_Description', '主管é¢å¯¼ç¾åæ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', equipment_manager_signature_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'é¨é¨é¢å¯¼ç¾å;æ ¹æ®åæ´åå ç±»ååºåä¸åç人审æ¹', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', depart_manager_signature; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'é¨é¨é¢å¯¼ç¾åæ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', depart_manager_signature_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'é¨é¨é¢å¯¼æè§', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', depart_manager_comment; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç产ä¿éé¨é¢å¯¼ç¾å', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', production_support_signature; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç产ä¿éé¨é¢å¯¼ç¾åæ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', production_support_signature_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç产ä¿éé¨é¢å¯¼æè§', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', production_support_comment; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'HFç¼ç ', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_evaluation_order_change, 'column', hf_code; |
| | | ALTER TABLE [dbo].[eam_technical_status_evaluation_order_change] |
| | | SET (LOCK_ESCALATION = TABLE) |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'主é®', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'id' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å建人', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'create_by' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å建æ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'create_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'æ´æ°äºº', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'update_by' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'æ´æ°æ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'update_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å 餿 è®°', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'del_flag' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å·¥åID', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'order_id' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'设å¤ID', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'equipment_id' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'åæ´åå·', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'change_order_num' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç³è¯·äºº', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'applicant' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç³è¯·é¨é¨', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'factory_org_code' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç³è¯·æ¥æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'apply_date' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'åæ´ç¶æ;å¾
æäº¤ãå¾
ä¸»ç®¡å®¡æ ¸ãå¾
é¨é¨ç¡®è®¤ãå¾
ä¿éé¨ç¡®è®¤ãå·²ä½åºã已宿', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'change_status' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'åæ´åå ;çäº§ä»»å¡æ¥æ æ³åæºãè®¾å¤æ
鿣å¤äºç»´ä¿®ç¶æã设å¤å·²æ¥åºã设å¤å¤§ä¿®ãæ¬è¿ãæ¹é ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'apply_reason' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'åæ´é´å®æ¥æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'deferred_evaluation_date' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'主管é¢å¯¼ç¾å', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'equipment_manager_signature' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'主管é¢å¯¼ç¾åæ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'equipment_manager_signature_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'主管é¢å¯¼ç¾åç»æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'equipment_manager_signature_result' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'主管é¢å¯¼æè§', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'equipment_manager_comment' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'é¨é¨é¢å¯¼ç¾å;æ ¹æ®åæ´åå ç±»ååºåä¸åç人审æ¹', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'depart_manager_signature' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'é¨é¨é¢å¯¼ç¾åæ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'depart_manager_signature_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'é¨é¨é¢å¯¼ç¾åç»æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'depart_manager_signature_result' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'é¨é¨é¢å¯¼æè§', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'depart_manager_comment' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç产ä¿éé¨é¢å¯¼ç¾å', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'production_support_signature' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç产ä¿éé¨é¢å¯¼ç¾åæ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'production_support_signature_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç产ä¿éé¨é¢å¯¼ç¾åç»æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'production_support_signature_result' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç产ä¿éé¨é¢å¯¼æè§', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'production_support_comment' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'HFç¼ç ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change', |
| | | 'COLUMN', N'hf_code' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ææ¯ç¶æé´å®å·¥ååæ´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_evaluation_order_change' |
| | | |
| | | --ææ¯ç¶æåæ´ç³è¯· |
| | | IF EXISTS (SELECT * |
| | |
| | | DROP TABLE [dbo].[eam_technical_status_change]; |
| | | CREATE TABLE [dbo].[eam_technical_status_change] |
| | | ( |
| | | id NVARCHAR(32) NOT NULL, |
| | | create_by NVARCHAR(50), |
| | | create_time DATETIME2, |
| | | update_by NVARCHAR(50), |
| | | update_time DATETIME2, |
| | | del_flag INT, |
| | | change_order_num NVARCHAR(100), |
| | | change_status NVARCHAR(64), |
| | | designer NVARCHAR(50), |
| | | designer_time DATETIME2, |
| | | depart_header_signature NVARCHAR(50), |
| | | depart_header_signature_time DATETIME2, |
| | | depart_header_signature_comment NVARCHAR(255), |
| | | depart_leader_signature NVARCHAR(50), |
| | | depart_leader_signature_time DATETIME2, |
| | | depart_leader_signature_comment NVARCHAR(255), |
| | | hf_code NVARCHAR(100), |
| | | PRIMARY KEY (id) |
| | | ); |
| | | [id] nvarchar(32) COLLATE Chinese_PRC_CI_AS NOT NULL, |
| | | [create_by] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [create_time] datetime2(7) NULL, |
| | | [update_by] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [update_time] datetime2(7) NULL, |
| | | [del_flag] int NULL, |
| | | [change_order_num] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [change_status] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [factory_org_code] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [designer] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [designer_time] datetime2(7) NULL, |
| | | [depart_header_signature] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_header_signature_time] datetime2(7) NULL, |
| | | [depart_header_signature_result] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_header_comment] nvarchar(255) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_leader_signature] nvarchar(50) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_leader_signature_time] datetime2(7) NULL, |
| | | [depart_leader_signature_result] nvarchar(64) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [depart_leader_comment] nvarchar(255) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [hf_code] nvarchar(100) COLLATE Chinese_PRC_CI_AS NULL, |
| | | [remark] nvarchar(255) COLLATE Chinese_PRC_CI_AS NULL, |
| | | CONSTRAINT [PK__eam_tech__3213E83F5B1204F4] PRIMARY KEY CLUSTERED ([id]) |
| | | WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) |
| | | ON [PRIMARY] |
| | | ) |
| | | ON [PRIMARY] |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ææ¯ç¶æåæ´ç³è¯·', 'SCHEMA', dbo, 'table', eam_technical_status_change, |
| | | null, null; |
| | | EXEC sp_addextendedproperty 'MS_Description', '主é®', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', id; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å建人', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | create_by; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å建æ¶é´', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | create_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'æ´æ°äºº', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | update_by; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'æ´æ°æ¶é´', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | update_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'å 餿 è®°', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | del_flag; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'åæ´åå·', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | change_order_num; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'åæ´åç¶æ', 'SCHEMA', dbo, 'table', eam_technical_status_change, |
| | | 'column', change_status; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç¼å¶äºº', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | designer; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'ç¼å¶æ¶é´', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | designer_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', '使ç¨åä½å®¤ä¸»ç®¡ç¾å', 'SCHEMA', dbo, 'table', eam_technical_status_change, |
| | | 'column', depart_header_signature; |
| | | EXEC sp_addextendedproperty 'MS_Description', '使ç¨åä½å®¤ä¸»ç®¡ç¾åæ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_change, 'column', depart_header_signature_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', '使ç¨åä½å®¤ä¸»ç®¡æè§', 'SCHEMA', dbo, 'table', eam_technical_status_change, |
| | | 'column', depart_header_signature_comment; |
| | | EXEC sp_addextendedproperty 'MS_Description', '使ç¨åä½é¨ä¸»ç®¡ç¾å', 'SCHEMA', dbo, 'table', eam_technical_status_change, |
| | | 'column', depart_leader_signature; |
| | | EXEC sp_addextendedproperty 'MS_Description', '使ç¨åä½é¨ä¸»ç®¡ç¾åæ¶é´', 'SCHEMA', dbo, 'table', |
| | | eam_technical_status_change, 'column', depart_leader_signature_time; |
| | | EXEC sp_addextendedproperty 'MS_Description', '使ç¨åä½é¨ä¸»ç®¡ç¾å', 'SCHEMA', dbo, 'table', eam_technical_status_change, |
| | | 'column', depart_leader_signature_comment; |
| | | EXEC sp_addextendedproperty 'MS_Description', 'HFç¼ç ', 'SCHEMA', dbo, 'table', eam_technical_status_change, 'column', |
| | | hf_code; |
| | | ALTER TABLE [dbo].[eam_technical_status_change] |
| | | SET (LOCK_ESCALATION = TABLE) |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'主é®', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'id' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å建人', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'create_by' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å建æ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'create_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'æ´æ°äºº', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'update_by' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'æ´æ°æ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'update_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'å 餿 è®°', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'del_flag' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'åæ´åå·', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'change_order_num' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'åæ´åç¶æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'change_status' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç³è¯·åä½', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'factory_org_code' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç¼å¶äºº', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'designer' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ç¼å¶æ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'designer_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½å®¤çº§ä¸»ç®¡ç¾å', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_header_signature' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½å®¤çº§ä¸»ç®¡ç¾åæ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_header_signature_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½å®¤çº§ä¸»ç®¡ç¾åç»æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_header_signature_result' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½å®¤çº§ä¸»ç®¡æè§', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_header_comment' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½é¨çº§ä¸»ç®¡ç¾å', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_leader_signature' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½é¨çº§ä¸»ç®¡ç¾åæ¶é´', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_leader_signature_time' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½é¨çº§ä¸»ç®¡ç¾åç»æ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_leader_signature_result' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'使ç¨åä½é¨çº§ä¸»ç®¡ç¾å', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'depart_leader_comment' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'HFç¼ç ', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'hf_code' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'夿³¨', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change', |
| | | 'COLUMN', N'remark' |
| | | GO |
| | | |
| | | EXEC sp_addextendedproperty |
| | | 'MS_Description', N'ææ¯ç¶æåæ´ç³è¯·', |
| | | 'SCHEMA', N'dbo', |
| | | 'TABLE', N'eam_technical_status_change' |
| | | |
| | | |
| | | --ææ¯ç¶æåæ´ç³è¯·æç» |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:flowable="http://flowable.org/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.flowable.org/processdef"> |
| | | <process id="technical_status_deactivate_process" name="åç¨å 工设å¤ç³è¯·" flowable:processCategory="TECHNICAL_STATUS_DEACTIVATE_PROCESS"> |
| | | <startEvent id="startNode1" name="å¼å§"> |
| | | <outgoing>Flow_0yfurvp</outgoing> |
| | | </startEvent> |
| | | <sequenceFlow id="Flow_0yfurvp" name="æäº¤" sourceRef="startNode1" targetRef="Activity_02hq39f" /> |
| | | <userTask id="Activity_02hq39f" name="ç³è¯·æäº¤"> |
| | | <incoming>Flow_0yfurvp</incoming> |
| | | <outgoing>Flow_06c497o</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_06c497o" name="æäº¤å®æ" sourceRef="Activity_02hq39f" targetRef="Activity_1aymxw6" /> |
| | | <userTask id="Activity_1aymxw6" name="使ç¨åä½å®¤çº§ä¸»ç®¡å®¡æ¹"> |
| | | <incoming>Flow_06c497o</incoming> |
| | | <outgoing>Flow_07sm00g</outgoing> |
| | | <outgoing>Flow_1y4h64d</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_07sm00g" name="éè¿" sourceRef="Activity_1aymxw6" targetRef="Activity_1abilq7"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfrimFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <userTask id="Activity_1abilq7" name="使ç¨åä½é¨çº§ä¸»ç®¡å®¡æ¹"> |
| | | <incoming>Flow_07sm00g</incoming> |
| | | <outgoing>Flow_16q19a6</outgoing> |
| | | </userTask> |
| | | <endEvent id="Event_0w00roh"> |
| | | <incoming>Flow_16q19a6</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_16q19a6" name="éè¿æé©³å" sourceRef="Activity_1abilq7" targetRef="Event_0w00roh" /> |
| | | <endEvent id="Event_057c1tu"> |
| | | <incoming>Flow_1y4h64d</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_1y4h64d" name="驳å" sourceRef="Activity_1aymxw6" targetRef="Event_057c1tu"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfrimFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | </process> |
| | | <bpmndi:BPMNDiagram id="BPMNDiagram_flow"> |
| | | <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="technical_status_deactivate_process"> |
| | | <bpmndi:BPMNEdge id="Flow_1y4h64d_di" bpmnElement="Flow_1y4h64d"> |
| | | <di:waypoint x="310" y="340" /> |
| | | <di:waypoint x="372" y="340" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="330" y="322" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_16q19a6_di" bpmnElement="Flow_16q19a6"> |
| | | <di:waypoint x="260" y="520" /> |
| | | <di:waypoint x="260" y="592" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="192" y="554" width="56" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_07sm00g_di" bpmnElement="Flow_07sm00g"> |
| | | <di:waypoint x="260" y="380" /> |
| | | <di:waypoint x="260" y="440" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="228" y="407" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_06c497o_di" bpmnElement="Flow_06c497o"> |
| | | <di:waypoint x="260" y="240" /> |
| | | <di:waypoint x="260" y="300" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="207" y="266" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0yfurvp_di" bpmnElement="Flow_0yfurvp"> |
| | | <di:waypoint x="260" y="115" /> |
| | | <di:waypoint x="260" y="160" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="228" y="135" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="BPMNShape_startNode1" bpmnElement="startNode1" bioc:stroke=""> |
| | | <omgdc:Bounds x="245" y="85" width="30" height="30" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="248" y="63" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0d1w8ij_di" bpmnElement="Activity_02hq39f"> |
| | | <omgdc:Bounds x="210" y="160" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1fbagra_di" bpmnElement="Activity_1aymxw6"> |
| | | <omgdc:Bounds x="210" y="300" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_144fdht_di" bpmnElement="Activity_1abilq7"> |
| | | <omgdc:Bounds x="210" y="440" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_0w00roh_di" bpmnElement="Event_0w00roh"> |
| | | <omgdc:Bounds x="242" y="592" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_057c1tu_di" bpmnElement="Event_057c1tu"> |
| | | <omgdc:Bounds x="372" y="322" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | </bpmndi:BPMNPlane> |
| | | </bpmndi:BPMNDiagram> |
| | | </definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:flowable="http://flowable.org/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.flowable.org/processdef"> |
| | | <process id="technical_status_change_process" name="ææ¯ç¶æåæ´ç³è¯·æµç¨" flowable:processCategory="TECHNICAL_STATUS_CHANGE_PROCESS"> |
| | | <startEvent id="startNode1" name="å¼å§"> |
| | | <outgoing>Flow_1a5561e</outgoing> |
| | | </startEvent> |
| | | <sequenceFlow id="Flow_1a5561e" sourceRef="startNode1" targetRef="Activity_0vjpbto" /> |
| | | <userTask id="Activity_0vjpbto" name="åæ´æäº¤"> |
| | | <incoming>Flow_1a5561e</incoming> |
| | | <outgoing>Flow_049516g</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_049516g" name="æäº¤å®æ" sourceRef="Activity_0vjpbto" targetRef="Activity_13y6uei" /> |
| | | <userTask id="Activity_13y6uei" name="使ç¨åä½å®¤çº§é¢å¯¼å®¡æ ¸"> |
| | | <incoming>Flow_049516g</incoming> |
| | | <outgoing>Flow_1p7phbk</outgoing> |
| | | <outgoing>Flow_0kncgmv</outgoing> |
| | | </userTask> |
| | | <userTask id="Activity_00rff81" name="使ç¨åä½é¨çº§é¢å¯¼å®¡æ ¸"> |
| | | <incoming>Flow_1p7phbk</incoming> |
| | | <outgoing>Flow_09781az</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_1p7phbk" name="éè¿" sourceRef="Activity_13y6uei" targetRef="Activity_00rff81"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfirmFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <endEvent id="Event_0jo3kio"> |
| | | <incoming>Flow_0kncgmv</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_0kncgmv" name="驳å" sourceRef="Activity_13y6uei" targetRef="Event_0jo3kio"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfirmFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <endEvent id="Event_1nq08yu" name=""> |
| | | <incoming>Flow_09781az</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_09781az" name="éè¿æé©³å" sourceRef="Activity_00rff81" targetRef="Event_1nq08yu" /> |
| | | </process> |
| | | <bpmndi:BPMNDiagram id="BPMNDiagram_flow"> |
| | | <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="technical_status_change_process"> |
| | | <bpmndi:BPMNEdge id="Flow_09781az_di" bpmnElement="Flow_09781az"> |
| | | <di:waypoint x="150" y="350" /> |
| | | <di:waypoint x="150" y="402" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="162" y="371" width="56" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0kncgmv_di" bpmnElement="Flow_0kncgmv"> |
| | | <di:waypoint x="200" y="170" /> |
| | | <di:waypoint x="292" y="170" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="228" y="152" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1p7phbk_di" bpmnElement="Flow_1p7phbk"> |
| | | <di:waypoint x="150" y="210" /> |
| | | <di:waypoint x="150" y="270" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="154" y="236" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_049516g_di" bpmnElement="Flow_049516g"> |
| | | <di:waypoint x="150" y="70" /> |
| | | <di:waypoint x="150" y="130" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="157" y="96" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1a5561e_di" bpmnElement="Flow_1a5561e"> |
| | | <di:waypoint x="150" y="-65" /> |
| | | <di:waypoint x="150" y="-10" /> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="BPMNShape_startNode1" bpmnElement="startNode1" bioc:stroke=""> |
| | | <omgdc:Bounds x="135" y="-95" width="30" height="30" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="138" y="-117" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1kksbkh_di" bpmnElement="Activity_0vjpbto"> |
| | | <omgdc:Bounds x="100" y="-10" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1nkn08l_di" bpmnElement="Activity_13y6uei"> |
| | | <omgdc:Bounds x="100" y="130" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_018xpql_di" bpmnElement="Activity_00rff81"> |
| | | <omgdc:Bounds x="100" y="270" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_0jo3kio_di" bpmnElement="Event_0jo3kio"> |
| | | <omgdc:Bounds x="292" y="152" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_1nq08yu_di" bpmnElement="Event_1nq08yu"> |
| | | <omgdc:Bounds x="132" y="402" width="36" height="36" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="145" y="525" width="12" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNShape> |
| | | </bpmndi:BPMNPlane> |
| | | </bpmndi:BPMNDiagram> |
| | | </definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:flowable="http://flowable.org/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.flowable.org/processdef"> |
| | | <process id="evaluation_order_change_process" name="ææ¯ç¶æé´å®å·¥ååæ´æµç¨" flowable:processCategory="EVALUATION_ORDER_CHANGE_PROCESS"> |
| | | <startEvent id="startNode1" name="å¼å§"> |
| | | <outgoing>Flow_1lrjfyh</outgoing> |
| | | </startEvent> |
| | | <userTask id="Activity_0xr313b" name="æäº¤åæ´"> |
| | | <incoming>Flow_1lrjfyh</incoming> |
| | | <outgoing>Flow_0rs715w</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_0rs715w" name="æäº¤å®æ" sourceRef="Activity_0xr313b" targetRef="Activity_0o3p1rw" /> |
| | | <sequenceFlow id="Flow_1lrjfyh" name="" sourceRef="startNode1" targetRef="Activity_0xr313b" /> |
| | | <endEvent id="Event_1ljzz5l"> |
| | | <incoming>Flow_03s2kfi</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_03s2kfi" name="驳å" sourceRef="Activity_0o3p1rw" targetRef="Event_1ljzz5l"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfirmFlag == 2 }</conditionExpression> |
| | | </sequenceFlow> |
| | | <userTask id="Activity_0o3p1rw" name="使ç¨åä½å®¤çº§é¢å¯¼å®¡æ ¸"> |
| | | <incoming>Flow_0rs715w</incoming> |
| | | <outgoing>Flow_03s2kfi</outgoing> |
| | | <outgoing>Flow_1bl4oj1</outgoing> |
| | | </userTask> |
| | | <endEvent id="Event_094wrnm"> |
| | | <incoming>Flow_0glq4rb</incoming> |
| | | </endEvent> |
| | | <userTask id="Activity_0e2mtnc" name="é¨é¨é¢å¯¼å®¡æ ¸"> |
| | | <incoming>Flow_1bl4oj1</incoming> |
| | | <outgoing>Flow_1rtxiqx</outgoing> |
| | | <outgoing>Flow_0glq4rb</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_1bl4oj1" name="éè¿" sourceRef="Activity_0o3p1rw" targetRef="Activity_0e2mtnc"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfirmFlag == 1 }</conditionExpression> |
| | | </sequenceFlow> |
| | | <userTask id="Activity_1ugagrs" name="ç产ä¿éé¨é¢å¯¼å®¡æ ¸"> |
| | | <incoming>Flow_1rtxiqx</incoming> |
| | | <outgoing>Flow_1qk08w9</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_1rtxiqx" name="éè¿" sourceRef="Activity_0e2mtnc" targetRef="Activity_1ugagrs"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departLeaderConfirmFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <endEvent id="Event_1byavvu"> |
| | | <incoming>Flow_1qk08w9</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_1qk08w9" name="éè¿æé©³å" sourceRef="Activity_1ugagrs" targetRef="Event_1byavvu" /> |
| | | <sequenceFlow id="Flow_0glq4rb" name="驳å" sourceRef="Activity_0e2mtnc" targetRef="Event_094wrnm"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departLeaderConfirmFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | </process> |
| | | <bpmndi:BPMNDiagram id="BPMNDiagram_flow"> |
| | | <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="evaluation_order_change_process"> |
| | | <bpmndi:BPMNEdge id="Flow_0glq4rb_di" bpmnElement="Flow_0glq4rb"> |
| | | <di:waypoint x="340" y="360" /> |
| | | <di:waypoint x="340" y="288" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="344" y="321" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1qk08w9_di" bpmnElement="Flow_1qk08w9"> |
| | | <di:waypoint x="570" y="400" /> |
| | | <di:waypoint x="662" y="400" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="582" y="382" width="56" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1rtxiqx_di" bpmnElement="Flow_1rtxiqx"> |
| | | <di:waypoint x="390" y="400" /> |
| | | <di:waypoint x="470" y="400" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="418" y="382" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1bl4oj1_di" bpmnElement="Flow_1bl4oj1"> |
| | | <di:waypoint x="220" y="400" /> |
| | | <di:waypoint x="290" y="400" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="244" y="382" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_03s2kfi_di" bpmnElement="Flow_03s2kfi"> |
| | | <di:waypoint x="170" y="440" /> |
| | | <di:waypoint x="170" y="492" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="174" y="463" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1lrjfyh_di" bpmnElement="Flow_1lrjfyh"> |
| | | <di:waypoint x="170" y="135" /> |
| | | <di:waypoint x="170" y="200" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="180" y="153" width="11" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0rs715w_di" bpmnElement="Flow_0rs715w"> |
| | | <di:waypoint x="170" y="280" /> |
| | | <di:waypoint x="170" y="360" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="117" y="317" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="BPMNShape_startNode1" bpmnElement="startNode1" bioc:stroke=""> |
| | | <omgdc:Bounds x="155" y="105" width="30" height="30" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="158" y="81" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1f3p44a_di" bpmnElement="Activity_0xr313b"> |
| | | <omgdc:Bounds x="120" y="200" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_1ljzz5l_di" bpmnElement="Event_1ljzz5l"> |
| | | <omgdc:Bounds x="152" y="492" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0vfhldg_di" bpmnElement="Activity_0o3p1rw"> |
| | | <omgdc:Bounds x="120" y="360" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_094wrnm_di" bpmnElement="Event_094wrnm"> |
| | | <omgdc:Bounds x="322" y="252" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1iibt8n_di" bpmnElement="Activity_0e2mtnc"> |
| | | <omgdc:Bounds x="290" y="360" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_17vz2zb_di" bpmnElement="Activity_1ugagrs"> |
| | | <omgdc:Bounds x="470" y="360" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_1byavvu_di" bpmnElement="Event_1byavvu"> |
| | | <omgdc:Bounds x="662" y="382" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | </bpmndi:BPMNPlane> |
| | | </bpmndi:BPMNDiagram> |
| | | </definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:flowable="http://flowable.org/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.flowable.org/processdef"> |
| | | <process id="technical_status_evaluation_process" name="ææ¯ç¶æé´å®æµç¨" flowable:processCategory="TECHNICAL_STATUS_EVALUATION"> |
| | | <startEvent id="startNode1" name="å¼å§"> |
| | | <outgoing>Flow_08kar5y</outgoing> |
| | | </startEvent> |
| | | <sequenceFlow id="Flow_08kar5y" name="é¢å" sourceRef="startNode1" targetRef="Activity_1nstx24" /> |
| | | <inclusiveGateway id="Gateway_0t8e1ct"> |
| | | <incoming>Flow_14ezqsp</incoming> |
| | | <outgoing>Flow_1aeofia</outgoing> |
| | | <outgoing>Flow_0qu8c97</outgoing> |
| | | <outgoing>Flow_0j0xozz</outgoing> |
| | | </inclusiveGateway> |
| | | <sequenceFlow id="Flow_14ezqsp" name="åé
åé人" sourceRef="Activity_1nstx24" targetRef="Gateway_0t8e1ct" /> |
| | | <sequenceFlow id="Flow_1aeofia" name="åå¨å®å
¨è£
ç½®æ£æ¥é¡¹" sourceRef="Gateway_0t8e1ct" targetRef="safety_equipment_check"> |
| | | <conditionExpression xsi:type="tFormalExpression">${hasSafetyEquipmentCheck == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_0qu8c97" name="åå¨è®¾å¤ç²¾åº¦æ£æ¥é¡¹" sourceRef="Gateway_0t8e1ct" targetRef="equipment_precision_check"> |
| | | <conditionExpression xsi:type="tFormalExpression">${hasPrecisionCheck == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_0j0xozz" name="åå¨å
¶ä»æ£æ¥é¡¹" sourceRef="Gateway_0t8e1ct" targetRef="other_check"> |
| | | <conditionExpression xsi:type="tFormalExpression">${hasOtherCheck == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <userTask id="Activity_1nstx24" name="å·¥åé¢å"> |
| | | <incoming>Flow_08kar5y</incoming> |
| | | <outgoing>Flow_14ezqsp</outgoing> |
| | | </userTask> |
| | | <userTask id="safety_equipment_check" name="å®å
¨è£
ç½®æ£æ¥"> |
| | | <incoming>Flow_1aeofia</incoming> |
| | | <incoming>Flow_17a4vks</incoming> |
| | | <outgoing>Flow_1b2jdti</outgoing> |
| | | </userTask> |
| | | <userTask id="equipment_precision_check" name="设å¤ç²¾åº¦æ£æ¥"> |
| | | <incoming>Flow_0qu8c97</incoming> |
| | | <incoming>Flow_10sx1x8</incoming> |
| | | <outgoing>Flow_0etgxyr</outgoing> |
| | | </userTask> |
| | | <userTask id="other_check" name="å
¶ä»æ£æ¥"> |
| | | <incoming>Flow_0j0xozz</incoming> |
| | | <incoming>Flow_0qmhfoe</incoming> |
| | | <outgoing>Flow_0x0nou7</outgoing> |
| | | </userTask> |
| | | <inclusiveGateway id="Gateway_05inlwj"> |
| | | <incoming>Flow_0ce2jd6</incoming> |
| | | <incoming>Flow_1830g31</incoming> |
| | | <incoming>Flow_14d65ly</incoming> |
| | | <outgoing>Flow_0gawkvp</outgoing> |
| | | </inclusiveGateway> |
| | | <userTask id="Activity_0vx3umo" name="维修室主任ç¾å"> |
| | | <incoming>Flow_1r37r0q</incoming> |
| | | <outgoing>Flow_0l049xa</outgoing> |
| | | <outgoing>Flow_0iqfkbu</outgoing> |
| | | </userTask> |
| | | <userTask id="Activity_1o9pk5t" name="å·¥èºåç¾å"> |
| | | <incoming>Flow_0iqfkbu</incoming> |
| | | <incoming>Flow_0iu1nap</incoming> |
| | | <outgoing>Flow_1d2uh4m</outgoing> |
| | | </userTask> |
| | | <userTask id="Activity_1ebqzed" name="使ç¨å使æ¯ä¸»ç®¡ç¾å"> |
| | | <incoming>Flow_1d2uh4m</incoming> |
| | | <outgoing>Flow_0k09keo</outgoing> |
| | | <outgoing>Flow_0iu1nap</outgoing> |
| | | </userTask> |
| | | <userTask id="Activity_0yigfu5" name="è®¾å¤æ£æ¥åç¾å"> |
| | | <incoming>Flow_0k09keo</incoming> |
| | | <outgoing>Flow_01nyfzi</outgoing> |
| | | </userTask> |
| | | <endEvent id="Event_1lkemxs"> |
| | | <incoming>Flow_01nyfzi</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_1b2jdti" name="æ£æ¥å®æ" sourceRef="safety_equipment_check" targetRef="safety_equipment_check_confirm" /> |
| | | <sequenceFlow id="Flow_0etgxyr" name="æ£æ¥å®æ" sourceRef="equipment_precision_check" targetRef="equipment_precision_check_confirm" /> |
| | | <sequenceFlow id="Flow_0x0nou7" name="æ£æ¥å®æ" sourceRef="other_check" targetRef="other_check_confirm" /> |
| | | <userTask id="safety_equipment_check_confirm" name="维修室主任ç¾å"> |
| | | <incoming>Flow_1b2jdti</incoming> |
| | | <outgoing>Flow_0ce2jd6</outgoing> |
| | | <outgoing>Flow_17a4vks</outgoing> |
| | | </userTask> |
| | | <userTask id="equipment_precision_check_confirm" name="维修室主任ç¾å"> |
| | | <incoming>Flow_0etgxyr</incoming> |
| | | <outgoing>Flow_1830g31</outgoing> |
| | | <outgoing>Flow_10sx1x8</outgoing> |
| | | </userTask> |
| | | <userTask id="other_check_confirm" name="维修室主任ç¾å"> |
| | | <incoming>Flow_0x0nou7</incoming> |
| | | <outgoing>Flow_14d65ly</outgoing> |
| | | <outgoing>Flow_0qmhfoe</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_0ce2jd6" name="éè¿" sourceRef="safety_equipment_check_confirm" targetRef="Gateway_05inlwj"> |
| | | <conditionExpression xsi:type="tFormalExpression">${safetyEquipmentCheckFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_1830g31" name="éè¿" sourceRef="equipment_precision_check_confirm" targetRef="Gateway_05inlwj"> |
| | | <conditionExpression xsi:type="tFormalExpression">${precisionCheckFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_14d65ly" name="éè¿" sourceRef="other_check_confirm" targetRef="Gateway_05inlwj"> |
| | | <conditionExpression xsi:type="tFormalExpression">${otherCheckFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_17a4vks" name="驳å" sourceRef="safety_equipment_check_confirm" targetRef="safety_equipment_check"> |
| | | <conditionExpression xsi:type="tFormalExpression">${safetyEquipmentCheckFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_10sx1x8" name="驳å" sourceRef="equipment_precision_check_confirm" targetRef="equipment_precision_check"> |
| | | <conditionExpression xsi:type="tFormalExpression">${precisionCheckFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_0qmhfoe" name="驳å" sourceRef="other_check_confirm" targetRef="other_check"> |
| | | <conditionExpression xsi:type="tFormalExpression">${otherCheckFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_0gawkvp" name="éè¿" sourceRef="Gateway_05inlwj" targetRef="Activity_0w2esvf" /> |
| | | <sequenceFlow id="Flow_1r37r0q" name="éè¿" sourceRef="Activity_0w2esvf" targetRef="Activity_0vx3umo" /> |
| | | <sequenceFlow id="Flow_0l049xa" name="驳å" sourceRef="Activity_0vx3umo" targetRef="Activity_0w2esvf"> |
| | | <conditionExpression xsi:type="tFormalExpression">${repairManagerApprovalFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_0iqfkbu" name="éè¿" sourceRef="Activity_0vx3umo" targetRef="Activity_1o9pk5t"> |
| | | <conditionExpression xsi:type="tFormalExpression">${repairManagerApprovalFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_1d2uh4m" name="éè¿" sourceRef="Activity_1o9pk5t" targetRef="Activity_1ebqzed" /> |
| | | <sequenceFlow id="Flow_0k09keo" name="éè¿" sourceRef="Activity_1ebqzed" targetRef="Activity_0yigfu5"> |
| | | <conditionExpression xsi:type="tFormalExpression">${technicalLeaderApprovalFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_01nyfzi" name="éè¿" sourceRef="Activity_0yigfu5" targetRef="Event_1lkemxs" /> |
| | | <sequenceFlow id="Flow_0iu1nap" name="驳å" sourceRef="Activity_1ebqzed" targetRef="Activity_1o9pk5t"> |
| | | <conditionExpression xsi:type="tFormalExpression">${technicalLeaderApprovalFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <userTask id="Activity_0w2esvf" name="维修人åç¾å"> |
| | | <incoming>Flow_0gawkvp</incoming> |
| | | <incoming>Flow_0l049xa</incoming> |
| | | <outgoing>Flow_1r37r0q</outgoing> |
| | | </userTask> |
| | | </process> |
| | | <bpmndi:BPMNDiagram id="BPMNDiagram_flow"> |
| | | <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="technical_status_evaluation_process"> |
| | | <bpmndi:BPMNEdge id="Flow_0iu1nap_di" bpmnElement="Flow_0iu1nap"> |
| | | <di:waypoint x="730" y="400" /> |
| | | <di:waypoint x="800" y="400" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="756" y="403" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_01nyfzi_di" bpmnElement="Flow_01nyfzi"> |
| | | <di:waypoint x="460" y="380" /> |
| | | <di:waypoint x="378" y="380" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="408" y="362" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0k09keo_di" bpmnElement="Flow_0k09keo"> |
| | | <di:waypoint x="630" y="380" /> |
| | | <di:waypoint x="560" y="380" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="584" y="362" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1d2uh4m_di" bpmnElement="Flow_1d2uh4m"> |
| | | <di:waypoint x="800" y="360" /> |
| | | <di:waypoint x="730" y="360" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="754" y="342" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0iqfkbu_di" bpmnElement="Flow_0iqfkbu"> |
| | | <di:waypoint x="850" y="280" /> |
| | | <di:waypoint x="850" y="340" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="854" y="303" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0l049xa_di" bpmnElement="Flow_0l049xa"> |
| | | <di:waypoint x="880" y="200" /> |
| | | <di:waypoint x="880" y="140" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="888" y="167" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1r37r0q_di" bpmnElement="Flow_1r37r0q"> |
| | | <di:waypoint x="840" y="140" /> |
| | | <di:waypoint x="840" y="200" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="808" y="167" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0gawkvp_di" bpmnElement="Flow_0gawkvp"> |
| | | <di:waypoint x="735" y="100" /> |
| | | <di:waypoint x="800" y="100" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="756" y="82" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0qmhfoe_di" bpmnElement="Flow_0qmhfoe"> |
| | | <di:waypoint x="510" y="220" /> |
| | | <di:waypoint x="430" y="220" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="459" y="223" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_10sx1x8_di" bpmnElement="Flow_10sx1x8"> |
| | | <di:waypoint x="510" y="120" /> |
| | | <di:waypoint x="430" y="120" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="459" y="122" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_17a4vks_di" bpmnElement="Flow_17a4vks"> |
| | | <di:waypoint x="510" y="20" /> |
| | | <di:waypoint x="430" y="20" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="459" y="23" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_14d65ly_di" bpmnElement="Flow_14d65ly"> |
| | | <di:waypoint x="610" y="200" /> |
| | | <di:waypoint x="710" y="200" /> |
| | | <di:waypoint x="710" y="125" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="649" y="182" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1830g31_di" bpmnElement="Flow_1830g31"> |
| | | <di:waypoint x="610" y="100" /> |
| | | <di:waypoint x="685" y="100" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="636" y="82" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0ce2jd6_di" bpmnElement="Flow_0ce2jd6"> |
| | | <di:waypoint x="610" y="0" /> |
| | | <di:waypoint x="710" y="0" /> |
| | | <di:waypoint x="710" y="75" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="649" y="-18" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0x0nou7_di" bpmnElement="Flow_0x0nou7"> |
| | | <di:waypoint x="430" y="200" /> |
| | | <di:waypoint x="510" y="200" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="448" y="182" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0etgxyr_di" bpmnElement="Flow_0etgxyr"> |
| | | <di:waypoint x="430" y="100" /> |
| | | <di:waypoint x="510" y="100" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="448" y="82" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1b2jdti_di" bpmnElement="Flow_1b2jdti"> |
| | | <di:waypoint x="430" y="0" /> |
| | | <di:waypoint x="510" y="0" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="448" y="-18" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0j0xozz_di" bpmnElement="Flow_0j0xozz"> |
| | | <di:waypoint x="240" y="125" /> |
| | | <di:waypoint x="240" y="200" /> |
| | | <di:waypoint x="330" y="200" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="241" y="183" width="78" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0qu8c97_di" bpmnElement="Flow_0qu8c97"> |
| | | <di:waypoint x="265" y="100" /> |
| | | <di:waypoint x="330" y="100" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="251" y="66" width="78" height="27" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1aeofia_di" bpmnElement="Flow_1aeofia"> |
| | | <di:waypoint x="240" y="75" /> |
| | | <di:waypoint x="240" y="0" /> |
| | | <di:waypoint x="330" y="0" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="241" y="-34" width="78" height="27" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_14ezqsp_di" bpmnElement="Flow_14ezqsp"> |
| | | <di:waypoint x="120" y="100" /> |
| | | <di:waypoint x="215" y="100" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="140" y="82" width="56" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_08kar5y_di" bpmnElement="Flow_08kar5y"> |
| | | <di:waypoint x="-45" y="100" /> |
| | | <di:waypoint x="20" y="100" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="-24" y="82" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="BPMNShape_startNode1" bpmnElement="startNode1" bioc:stroke=""> |
| | | <omgdc:Bounds x="-75" y="85" width="30" height="30" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="-73" y="122" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Gateway_0n5p3kz_di" bpmnElement="Gateway_0t8e1ct"> |
| | | <omgdc:Bounds x="215" y="75" width="50" height="50" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_15ga6fi_di" bpmnElement="Activity_1nstx24"> |
| | | <omgdc:Bounds x="20" y="60" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1axd1mf_di" bpmnElement="safety_equipment_check"> |
| | | <omgdc:Bounds x="330" y="-40" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_09f2psv_di" bpmnElement="equipment_precision_check"> |
| | | <omgdc:Bounds x="330" y="60" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0hka9ht_di" bpmnElement="other_check"> |
| | | <omgdc:Bounds x="330" y="160" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Gateway_1yf4krn_di" bpmnElement="Gateway_05inlwj"> |
| | | <omgdc:Bounds x="685" y="75" width="50" height="50" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0jqk7kf_di" bpmnElement="Activity_0vx3umo"> |
| | | <omgdc:Bounds x="800" y="200" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1utlj8v_di" bpmnElement="Activity_1o9pk5t"> |
| | | <omgdc:Bounds x="800" y="340" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_093o9g6_di" bpmnElement="Activity_1ebqzed"> |
| | | <omgdc:Bounds x="630" y="340" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1pq8o9r_di" bpmnElement="Activity_0yigfu5"> |
| | | <omgdc:Bounds x="460" y="340" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_1lkemxs_di" bpmnElement="Event_1lkemxs"> |
| | | <omgdc:Bounds x="342" y="362" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_11446n6_di" bpmnElement="safety_equipment_check_confirm"> |
| | | <omgdc:Bounds x="510" y="-40" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1yeaht6_di" bpmnElement="equipment_precision_check_confirm"> |
| | | <omgdc:Bounds x="510" y="60" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_10ic56v_di" bpmnElement="other_check_confirm"> |
| | | <omgdc:Bounds x="510" y="160" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0o51wl1_di" bpmnElement="Activity_0w2esvf"> |
| | | <omgdc:Bounds x="800" y="60" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | </bpmndi:BPMNPlane> |
| | | </bpmndi:BPMNDiagram> |
| | | </definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:flowable="http://flowable.org/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.flowable.org/processdef"> |
| | | <process id="technical_status_evaluation_apply_process" name="ææ¯ç¶æé´å®ç³è¯·æµç¨" flowable:processCategory="TECHNICAL_STATUS_EVALUATION_APPLY_PROCESS"> |
| | | <startEvent id="startNode1" name="å¼å§"> |
| | | <outgoing>Flow_047mezk</outgoing> |
| | | </startEvent> |
| | | <sequenceFlow id="Flow_047mezk" name="æäº¤" sourceRef="startNode1" targetRef="Activity_0phqw21" /> |
| | | <userTask id="Activity_0phqw21" name="ç³è¯·æäº¤"> |
| | | <incoming>Flow_047mezk</incoming> |
| | | <outgoing>Flow_11nxzgi</outgoing> |
| | | </userTask> |
| | | <userTask id="Activity_1b9d829" name="ç³è¯·åä½å®¤çº§é¢å¯¼å®¡æ¹"> |
| | | <incoming>Flow_11nxzgi</incoming> |
| | | <outgoing>Flow_0b42mpn</outgoing> |
| | | <outgoing>Flow_09iuey6</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_11nxzgi" name="æäº¤å®æ" sourceRef="Activity_0phqw21" targetRef="Activity_1b9d829" /> |
| | | <sequenceFlow id="Flow_0b42mpn" name="éè¿" sourceRef="Activity_1b9d829" targetRef="Activity_0s463r9"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfirmFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <sequenceFlow id="Flow_1gcy86s" name="éè¿" sourceRef="Activity_0s463r9" targetRef="Activity_1c09htz"> |
| | | <conditionExpression xsi:type="tFormalExpression">${productionHeaderConfirmFlag == 1}</conditionExpression> |
| | | </sequenceFlow> |
| | | <endEvent id="Event_0d71i5o"> |
| | | <incoming>Flow_1q3g8eo</incoming> |
| | | </endEvent> |
| | | <userTask id="Activity_1c09htz" name="ç产ä¿éé¨é¢å¯¼å®¡æ¹"> |
| | | <incoming>Flow_1gcy86s</incoming> |
| | | <outgoing>Flow_1q3g8eo</outgoing> |
| | | </userTask> |
| | | <userTask id="Activity_0s463r9" name="ç产设å¤ç®¡ç主管审æ¹"> |
| | | <incoming>Flow_0b42mpn</incoming> |
| | | <outgoing>Flow_1gcy86s</outgoing> |
| | | <outgoing>Flow_1wzlz4a</outgoing> |
| | | </userTask> |
| | | <sequenceFlow id="Flow_1q3g8eo" name="éè¿æé©³å" sourceRef="Activity_1c09htz" targetRef="Event_0d71i5o" /> |
| | | <endEvent id="Event_0qjd1ay"> |
| | | <incoming>Flow_1wzlz4a</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_1wzlz4a" name="驳å" sourceRef="Activity_0s463r9" targetRef="Event_0qjd1ay"> |
| | | <conditionExpression xsi:type="tFormalExpression">${productionHeaderConfirmFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | <endEvent id="Event_14kz3sw"> |
| | | <incoming>Flow_09iuey6</incoming> |
| | | </endEvent> |
| | | <sequenceFlow id="Flow_09iuey6" name="驳å" sourceRef="Activity_1b9d829" targetRef="Event_14kz3sw"> |
| | | <conditionExpression xsi:type="tFormalExpression">${departHeaderConfirmFlag == 2}</conditionExpression> |
| | | </sequenceFlow> |
| | | </process> |
| | | <bpmndi:BPMNDiagram id="BPMNDiagram_flow"> |
| | | <bpmndi:BPMNPlane id="BPMNPlane_flow" bpmnElement="technical_status_evaluation_apply_process"> |
| | | <bpmndi:BPMNEdge id="Flow_09iuey6_di" bpmnElement="Flow_09iuey6"> |
| | | <di:waypoint x="260" y="320" /> |
| | | <di:waypoint x="332" y="320" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="285" y="302" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1wzlz4a_di" bpmnElement="Flow_1wzlz4a"> |
| | | <di:waypoint x="260" y="460" /> |
| | | <di:waypoint x="332" y="460" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="285" y="442" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1q3g8eo_di" bpmnElement="Flow_1q3g8eo"> |
| | | <di:waypoint x="210" y="650" /> |
| | | <di:waypoint x="210" y="702" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="152" y="673" width="56" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_1gcy86s_di" bpmnElement="Flow_1gcy86s"> |
| | | <di:waypoint x="210" y="500" /> |
| | | <di:waypoint x="210" y="570" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="178" y="532" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_0b42mpn_di" bpmnElement="Flow_0b42mpn"> |
| | | <di:waypoint x="210" y="360" /> |
| | | <di:waypoint x="210" y="420" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="178" y="387" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_11nxzgi_di" bpmnElement="Flow_11nxzgi"> |
| | | <di:waypoint x="210" y="220" /> |
| | | <di:waypoint x="210" y="280" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="157" y="247" width="45" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNEdge id="Flow_047mezk_di" bpmnElement="Flow_047mezk"> |
| | | <di:waypoint x="210" y="75" /> |
| | | <di:waypoint x="210" y="140" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="178" y="93" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNEdge> |
| | | <bpmndi:BPMNShape id="BPMNShape_startNode1" bpmnElement="startNode1" bioc:stroke=""> |
| | | <omgdc:Bounds x="195" y="45" width="30" height="30" /> |
| | | <bpmndi:BPMNLabel> |
| | | <omgdc:Bounds x="198" y="23" width="23" height="14" /> |
| | | </bpmndi:BPMNLabel> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0kpg64e_di" bpmnElement="Activity_0phqw21"> |
| | | <omgdc:Bounds x="160" y="140" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1xg7mgb_di" bpmnElement="Activity_1b9d829"> |
| | | <omgdc:Bounds x="160" y="280" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_0d71i5o_di" bpmnElement="Event_0d71i5o"> |
| | | <omgdc:Bounds x="192" y="702" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_1eozmdz_di" bpmnElement="Activity_1c09htz"> |
| | | <omgdc:Bounds x="160" y="570" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Activity_0cax4o1_di" bpmnElement="Activity_0s463r9"> |
| | | <omgdc:Bounds x="160" y="420" width="100" height="80" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_0qjd1ay_di" bpmnElement="Event_0qjd1ay"> |
| | | <omgdc:Bounds x="332" y="442" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | <bpmndi:BPMNShape id="Event_14kz3sw_di" bpmnElement="Event_14kz3sw"> |
| | | <omgdc:Bounds x="332" y="302" width="36" height="36" /> |
| | | </bpmndi:BPMNShape> |
| | | </bpmndi:BPMNPlane> |
| | | </bpmndi:BPMNDiagram> |
| | | </definitions> |
| | |
| | | String TECHNICAL_STATUS_EVALUATION_ORDER_CHANGE_CODE_RULE = "TechnicalStatusEvaluationOrderChangeCodeRule"; |
| | | //ææ¯ç¶æåæ´ç¼ç è§å |
| | | String TECHNICAL_STATUS_CHANGE_CODE_RULE = "TechnicalStatusChangeCodeRule"; |
| | | //ææ¯ç¶æåæ´ç¼ç è§å |
| | | //ææ¯ç¶æé´å®ç³è¯·ç¼ç è§å |
| | | String TECHNICAL_STATUS_EVALUATION_APPLY_CODE_RULE = "TechnicalStatusEvaluationApplyCodeRule"; |
| | | //åç¨å 工设å¤ç³è¯·ç¼ç è§å |
| | | String TECHNICAL_STATUS_DEACTIVATE_CODE_RULE = "TechnicalStatusDeactivateCodeRule"; |
| | |
| | | WAIT_ADMIN_CONFIRM, //管çå确认 |
| | | WAIT_INSPECTOR_CONFIRM, // æ£æ¥äººç¡®è®¤ |
| | | COMPLETE, //已宿 |
| | | ABOLISH, //å·²ä½åº |
| | | ; |
| | | |
| | | public static SecondMaintenanceStatusEnum getInstance(String code) { |
| | |
| | | * @return |
| | | */ |
| | | List<EamEquipment> queryList(@Param(Constants.WRAPPER) Wrapper<EamEquipment> queryWrapper); |
| | | |
| | | /** |
| | | * è·åå¯çæææ¯é´å®å·¥åç设å¤å表 |
| | | * @return |
| | | */ |
| | | List<EamEquipment> selectTechnicalEquipmentList(@Param(Constants.WRAPPER) Wrapper<EamEquipment> queryWrapper); |
| | | |
| | | } |
| | |
| | | where del_flag = 0 |
| | | and factory_org_code =(select org_code from eam_base_factory where eam_base_factory.id=#{eamCenterId}) |
| | | </select> |
| | | <select id="selectTechnicalEquipmentList" resultType="org.jeecg.modules.eam.entity.EamEquipment"> |
| | | select e.*, |
| | | ext.latest_third_maintenance, |
| | | ext.next_third_maintenance, |
| | | ext.technology_status, |
| | | ext.third_maintenance_period, |
| | | ext.technology_check_period, |
| | | ext.latest_technology_check, |
| | | ext.next_technology_check |
| | | from eam_equipment e |
| | | left join eam_equipment_extend ext |
| | | on e.id = ext.id |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | </mapper> |
| | |
| | | package org.jeecg.modules.eam.request; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | private static final long serialVersionUID = 7710893031748864058L; |
| | | |
| | | |
| | | |
| | | //å表å±ç¤º |
| | | @TableField(exist = false) |
| | | private String equipmentCode; |
| | | @TableField(exist = false) |
| | | private String equipmentName; |
| | | @TableField(exist = false) |
| | | private String keyword; |
| | | @TableField(exist = false) |
| | | private String equipmentModel; |
| | | private String column; |
| | | private String order; |
| | | } |
| | |
| | | private String equipmentCode; |
| | | |
| | | /** |
| | | * 设å¤åç§° |
| | | */ |
| | | private String equipmentName; |
| | | |
| | | /** |
| | | * å¼å§æ¶é´ |
| | | */ |
| | | private String startTime; |
| | |
| | | * @return |
| | | */ |
| | | List<EamEquipment> exportList(EamEquipmentQuery eamEquipment); |
| | | |
| | | /** |
| | | * è·åå¯çæææ¯é´å®å·¥åç设å¤å表 |
| | | */ |
| | | List<EamEquipment> selectTechnicalEquipmentList(); |
| | | } |
| | |
| | | import org.jeecg.common.system.vo.LoginUser; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.jeecg.modules.eam.aspect.annotation.EquipmentHistoryLog; |
| | | import org.jeecg.modules.eam.tree.FindsEquipmentEamCenterUtil; |
| | | import org.jeecg.modules.system.entity.BaseFactory; |
| | | import org.jeecg.modules.system.entity.BaseFactoryUser; |
| | | import org.jeecg.modules.system.service.IBaseFactoryService; |
| | | import org.jeecg.modules.system.service.IBaseFactoryUserService; |
| | | import org.jeecg.modules.eam.constant.AssetStatusEnum; |
| | | import org.jeecg.modules.eam.constant.EquipmentMaintenanceStatus; |
| | | import org.jeecg.modules.eam.constant.EquipmentOperationTagEnum; |
| | | import org.jeecg.modules.eam.constant.EquipmentRepairStatus; |
| | | import org.jeecg.modules.eam.constant.*; |
| | | import org.jeecg.modules.eam.entity.EamEquipment; |
| | | import org.jeecg.modules.eam.entity.EamEquipmentExtend; |
| | | import org.jeecg.modules.eam.mapper.EamEquipmentMapper; |
| | | import org.jeecg.modules.eam.request.EamEquipmentQuery; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentExtendService; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.tree.FindsEquipmentEamCenterUtil; |
| | | import org.jeecg.modules.eam.tree.FindsEquipmentProductionUtil; |
| | | import org.jeecg.modules.eam.vo.EamEquipmentTree; |
| | | import org.jeecg.modules.eam.vo.EquipmentSearchResult; |
| | | import org.jeecg.modules.system.entity.BaseFactory; |
| | | import org.jeecg.modules.system.entity.BaseFactoryUser; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.jeecg.modules.system.service.IBaseFactoryService; |
| | | import org.jeecg.modules.system.service.IBaseFactoryUserService; |
| | | import org.jeecg.modules.system.service.IMdcProductionService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | return eamEquipmentMapper.queryList(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<EamEquipment> selectTechnicalEquipmentList() { |
| | | QueryWrapper<EamEquipment> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("e.del_flag", CommonConstant.DEL_FLAG_0); |
| | | queryWrapper.ne("ext.technology_status", TechnologyStatusEnum.PROHIBITED.name()); |
| | | queryWrapper.isNotNull("ext.technology_check_period"); |
| | | queryWrapper.isNotNull("e.next_technology_check"); |
| | | return this.getBaseMapper().selectTechnicalEquipmentList(queryWrapper); |
| | | } |
| | | |
| | | /** |
| | | * è·åææç产线idï¼å
嫿æä¸çº§ï¼ |
| | | */ |
| | |
| | | |
| | | import cn.hutool.core.collection.CollectionUtil; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | import org.jeecg.modules.eam.service.IEamSecondMaintenanceOrderService; |
| | | import org.jeecg.modules.system.service.ISysBusinessCodeRuleService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.*; |
| | | import java.util.concurrent.atomic.AtomicInteger; |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ¹éæ·»å |
| | | * @param requests |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "设å¤äºçº§ä¿å
»-æ¹éæ·»å ") |
| | | @ApiOperation(value = "设å¤äºçº§ä¿å
»-æ¹éæ·»å ", notes = "设å¤äºçº§ä¿å
»-æ¹éæ·»å ") |
| | | @PostMapping(value = "/batchAdd") |
| | | public Result<?> batchAdd(@RequestBody List<EamSecondMaintenanceRequest> requests) { |
| | | if (CollectionUtils.isEmpty(requests)) { |
| | | return Result.error("æ·»å ç对象å表ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | |
| | | // è®°å½æå/å¤±è´¥çæ¡ç® |
| | | List<String> successOrders = new ArrayList<>(); |
| | | List<Map<String, Object>> failedItems = new ArrayList<>(); |
| | | |
| | | for (int i = 0; i < requests.size(); i++) { |
| | | EamSecondMaintenanceRequest item = requests.get(i); |
| | | try { |
| | | // 1. åæ°æ ¡éª |
| | | if (item == null) { |
| | | failedItems.add(createErrorItem(i, "对象为空")); |
| | | continue; |
| | | } |
| | | if (StrUtil.isEmpty(item.getStandardId())) { |
| | | failedItems.add(createErrorItem(i, "ä¿å
»é¡¹ä¸è½ä¸ºç©º")); |
| | | continue; |
| | | } |
| | | |
| | | // 2. çæç¼ç å¹¶è®¾ç½®å±æ§ |
| | | String codeSeq = businessCodeRuleService.generateBusinessCodeSeq( |
| | | BusinessCodeConst.SECOND_MAINTENANCE_CODE_RULE); |
| | | item.setOrderNum(codeSeq); |
| | | item.setCreationMethod(OrderCreationMethodEnum.MANUAL.name()); |
| | | |
| | | // 3. æ§è¡æ·»å |
| | | if (eamSecondMaintenanceOrderService.addMaintenance(item)) { |
| | | successOrders.add(codeSeq); |
| | | } else { |
| | | failedItems.add(createErrorItem(i, "æå¡æ·»å 失败")); |
| | | } |
| | | } catch (Exception e) { |
| | | failedItems.add(createErrorItem(i, "ç³»ç»å¼å¸¸: " + e.getMessage())); |
| | | } |
| | | } |
| | | |
| | | // 4. æé è¿åç»æ |
| | | if (failedItems.isEmpty()) { |
| | | return Result.OK("æ¹éæ·»å æåï¼å
±æ·»å " + successOrders.size() + "æ¡è®°å½"); |
| | | } else { |
| | | Map<String, Object> result = new HashMap<>(); |
| | | result.put("successCount", successOrders.size()); |
| | | result.put("failedCount", failedItems.size()); |
| | | result.put("failedDetails", failedItems); |
| | | |
| | | return Result.OK( |
| | | "é¨åæ·»å å¤±è´¥ï¼æå" + successOrders.size() + "æ¡ï¼å¤±è´¥" + failedItems.size() + "æ¡ï¼", |
| | | result |
| | | ); |
| | | } |
| | | } |
| | | |
| | | // å建é误æ¡ç®ä¿¡æ¯ |
| | | private Map<String, Object> createErrorItem(int index, String reason) { |
| | | Map<String, Object> error = new HashMap<>(); |
| | | error.put("index", index); |
| | | error.put("reason", reason); |
| | | return error; |
| | | } |
| | | |
| | | /** |
| | | * å建é误项详æ
|
| | | * @param id å·¥åID |
| | | * @param errorMessage éè¯¯ä¿¡æ¯ |
| | | * @param detail é误详æ
|
| | | * @return é误详æ
Map |
| | | */ |
| | | private Map<String, Object> createErrorItem(String id, String errorMessage, Object detail) { |
| | | Map<String, Object> errorItem = new HashMap<>(); |
| | | errorItem.put("id", id); |
| | | errorItem.put("error", errorMessage); |
| | | if (detail != null) { |
| | | errorItem.put("detail", detail); |
| | | } |
| | | return errorItem; |
| | | } |
| | | |
| | | /** |
| | | * æå»ºæ¹éæä½è¿åç»æ |
| | | * @param successCount æåæ°é |
| | | * @param failedDetails 失败详æ
å表 |
| | | * @param actionName æä½åç§°ï¼"ä½åº"æ"è¿å"ï¼ |
| | | * @return ç»ä¸æ ¼å¼çè¿åç»æ |
| | | */ |
| | | private Result<?> buildBatchResult(int successCount, |
| | | List<Map<String, Object>> failedDetails, |
| | | List<String> successIds, |
| | | String actionName) { |
| | | Map<String, Object> resultMap = new HashMap<>(); |
| | | resultMap.put("successCount", successCount); |
| | | resultMap.put("failedCount", failedDetails.size()); |
| | | resultMap.put("successIds", successIds); |
| | | resultMap.put("failedDetails", failedDetails); |
| | | |
| | | if (failedDetails.isEmpty()) { |
| | | return Result.OK("æ¹é" + actionName + "æåï¼å
±" + actionName + " " + successCount + " æ¡å·¥åï¼"+resultMap); |
| | | } else { |
| | | return Result.OK("æ¹é" + actionName + "é¨åæåï¼æå" + successCount + "æ¡ï¼å¤±è´¥" + failedDetails.size() + "æ¡ï¼"+resultMap.get("failedDetails")); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * ç¼è¾ |
| | | * |
| | | * @param request |
| | |
| | | } |
| | | |
| | | /** |
| | | * éè¿idä½åº |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "设å¤äºçº§ä¿å
»-ä½åº") |
| | | @ApiOperation(value = "设å¤äºçº§ä¿å
»-ä½åº", notes = "设å¤äºçº§ä¿å
»-ä½åº") |
| | | @DeleteMapping(value = "/abolish") |
| | | public Result<?> abolish(@RequestParam(name = "id", required = true) String id) { |
| | | EamSecondMaintenanceOrder entity = eamSecondMaintenanceOrderService.getById(id); |
| | | if (entity == null) { |
| | | return Result.error("è¦ä½åºçæ°æ®ä¸åå¨ï¼è¯·å·æ°éè¯ï¼"); |
| | | } |
| | | if (!SecondMaintenanceStatusEnum.WAIT_MAINTENANCE.name().equals(entity.getMaintenanceStatus())) { |
| | | return Result.error("è¯¥ç¶æçæ°æ®ä¸å
许è¿è¡ä½åºï¼"); |
| | | } |
| | | entity.setMaintenanceStatus(SecondMaintenanceStatusEnum.ABOLISH.name()); |
| | | eamSecondMaintenanceOrderService.updateById(entity); |
| | | return Result.OK("ä½åºæå!"); |
| | | } |
| | | |
| | | @AutoLog(value = "å¨ä¿å·¥å-æ¹éä½åº") |
| | | @ApiOperation(value = "å¨ä¿å·¥å-æ¹éä½åº", notes = "å¨ä¿å·¥å-æ¹éä½åº") |
| | | @DeleteMapping(value = "/abolishBatch") |
| | | public Result<?> abolishBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | List<String> list = Arrays.asList(ids.split(",")); |
| | | |
| | | // è®°å½æä½ç»æ |
| | | int successCount = 0; |
| | | List<Map<String, Object>> failedDetails = new ArrayList<>(); |
| | | List<String> successIds = new ArrayList<>(); |
| | | |
| | | for (String id : list) { |
| | | try { |
| | | EamSecondMaintenanceOrder entity = eamSecondMaintenanceOrderService.getById(id); |
| | | if (entity == null) { |
| | | // è®°å½å·¥åä¸åå¨ |
| | | failedDetails.add(createErrorItem(id, "å·¥åä¸åå¨", null)); |
| | | continue; |
| | | } |
| | | |
| | | if (!SecondMaintenanceStatusEnum.WAIT_MAINTENANCE.name().equals(entity.getMaintenanceStatus())) { |
| | | // è®°å½ç¶æä¸ç¬¦åè¦æ± |
| | | failedDetails.add(createErrorItem(id, "å·¥åç¶æä¸æ»¡è¶³ä½åºè¦æ±", entity.getMaintenanceStatus())); |
| | | continue; |
| | | } |
| | | |
| | | entity.setMaintenanceStatus(SecondMaintenanceStatusEnum.ABOLISH.name()); |
| | | boolean updateResult = eamSecondMaintenanceOrderService.updateById(entity); |
| | | |
| | | if (updateResult) { |
| | | successCount++; |
| | | successIds.add(id); |
| | | } else { |
| | | // è®°å½æ´æ°å¤±è´¥ |
| | | failedDetails.add(createErrorItem(id, "æ´æ°æä½æ§è¡å¤±è´¥", entity.getMaintenanceStatus())); |
| | | } |
| | | } catch (Exception e) { |
| | | // è®°å½ç³»ç»å¼å¸¸ |
| | | failedDetails.add(createErrorItem(id, "ç³»ç»å¼å¸¸: " + e.getMessage(), null)); |
| | | } |
| | | } |
| | | |
| | | // æé è¿åç»æ |
| | | return buildBatchResult(successCount, failedDetails, successIds, "ä½åº"); |
| | | } |
| | | |
| | | /** |
| | | * è¿åä½åºå·¥å |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "设å¤äºçº§ä¿å
»-è¿åä½åºå·¥å") |
| | | @ApiOperation(value = "设å¤äºçº§ä¿å
»-è¿åä½åºå·¥å", notes = "设å¤äºçº§ä¿å
»-è¿åä½åºå·¥å") |
| | | @GetMapping(value = "/restore") |
| | | public Result<?> restore(@RequestParam(name = "id", required = true) String id) { |
| | | EamSecondMaintenanceOrder entity = eamSecondMaintenanceOrderService.getById(id); |
| | | if (entity == null) { |
| | | return Result.error("è¦è¿åçä½åºæ°æ®ä¸åå¨ï¼è¯·å·æ°éè¯ï¼"); |
| | | } |
| | | if (!SecondMaintenanceStatusEnum.ABOLISH.name().equals(entity.getMaintenanceStatus())) { |
| | | return Result.error("è¯¥ç¶æçæ°æ®ä¸å
许è¿è¡è¿åï¼"); |
| | | } |
| | | //æ¥è¯¢å½å设å¤åä¿å
»è§èidæ¯å¦æå¼ |
| | | List<EamSecondMaintenanceOrder> eamSecondMaintenanceOrderList=eamSecondMaintenanceOrderService |
| | | .list(new QueryWrapper<EamSecondMaintenanceOrder>().eq("equipment_id",entity.getEquipmentId()) |
| | | .eq("standard_id",entity.getStandardId()) |
| | | .ne("maintenance_status",SecondMaintenanceStatusEnum.ABOLISH.name())); |
| | | if(!eamSecondMaintenanceOrderList.isEmpty()){ |
| | | return Result.error("该设å¤å·²åå¨å¯¹åºäºä¿å·¥åï¼ä¸å
许è¿å!"); |
| | | } |
| | | entity.setMaintenanceStatus(SecondMaintenanceStatusEnum.WAIT_MAINTENANCE.name()); |
| | | eamSecondMaintenanceOrderService.updateById(entity); |
| | | return Result.OK("è¿åæå!"); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éè¿åä½åºå·¥å |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "设å¤äºçº§ä¿å
»-æ¹éè¿åä½åºå·¥å") |
| | | @ApiOperation(value = "设å¤äºçº§ä¿å
»-æ¹éè¿åä½åºå·¥å", notes = "设å¤äºçº§ä¿å
»-æ¹éè¿åä½åºå·¥å") |
| | | @DeleteMapping(value = "/restoreBatch") |
| | | public Result<?> restoreBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | List<String> list = Arrays.asList(ids.split(",")); |
| | | |
| | | // è®°å½æä½ç»æ |
| | | int successCount = 0; |
| | | List<Map<String, Object>> failedDetails = new ArrayList<>(); |
| | | List<String> successIds = new ArrayList<>(); |
| | | |
| | | for (String id : list) { |
| | | try { |
| | | EamSecondMaintenanceOrder entity = eamSecondMaintenanceOrderService.getById(id); |
| | | if (entity == null) { |
| | | // è®°å½å·¥åä¸åå¨ |
| | | failedDetails.add(createErrorItem(id, "å·¥åä¸åå¨", null)); |
| | | continue; |
| | | } |
| | | |
| | | if (!SecondMaintenanceStatusEnum.ABOLISH.name().equals(entity.getMaintenanceStatus())) { |
| | | // è®°å½ç¶æä¸æ¯å·²ä½åº |
| | | failedDetails.add(createErrorItem(id, "å·¥åç¶æä¸æ¯å·²ä½åº", entity.getMaintenanceStatus())); |
| | | continue; |
| | | } |
| | | |
| | | // æ¥è¯¢å½å设å¤åä¿å
»è§èæ¯å¦åå¨éä½åºç¶æçå·¥å |
| | | List<EamSecondMaintenanceOrder> existingOrders = eamSecondMaintenanceOrderService |
| | | .list(new QueryWrapper<EamSecondMaintenanceOrder>() |
| | | .eq("equipment_id", entity.getEquipmentId()) |
| | | .eq("standard_id", entity.getStandardId()) |
| | | .ne("maintenance_status", SecondMaintenanceStatusEnum.ABOLISH.name())); |
| | | |
| | | if (CollectionUtils.isNotEmpty(existingOrders)) { |
| | | // è®°å½åå¨éä½åºç¶æçå·¥å |
| | | failedDetails.add(createErrorItem(id, "该设å¤åä¿å
»è§èå·²åå¨éä½åºç¶æçå·¥å", existingOrders.size())); |
| | | continue; |
| | | } |
| | | |
| | | entity.setMaintenanceStatus(SecondMaintenanceStatusEnum.WAIT_MAINTENANCE.name()); |
| | | boolean updateResult = eamSecondMaintenanceOrderService.updateById(entity); |
| | | |
| | | if (updateResult) { |
| | | successCount++; |
| | | successIds.add(id); |
| | | } else { |
| | | // è®°å½æ´æ°å¤±è´¥ |
| | | failedDetails.add(createErrorItem(id, "æ´æ°æä½æ§è¡å¤±è´¥", entity.getMaintenanceStatus())); |
| | | } |
| | | } catch (Exception e) { |
| | | // è®°å½ç³»ç»å¼å¸¸ |
| | | failedDetails.add(createErrorItem(id, "ç³»ç»å¼å¸¸: " + e.getMessage(), null)); |
| | | } |
| | | } |
| | | |
| | | // æé è¿åç»æ |
| | | return buildBatchResult(successCount, failedDetails, successIds, "è¿å"); |
| | | } |
| | | |
| | | /** |
| | | * éè¿idé¢å |
| | | * |
| | | * @param id |
| | |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "å¨ä¿å·¥å-æ¹éé¢å") |
| | | @ApiOperation(value = "å¨ä¿å·¥å-æ¹éé¢å", notes = "å¨ä¿å·¥å-æ¹éé¢å") |
| | | @AutoLog(value = "设å¤äºçº§ä¿å
»-æ¹éé¢å") |
| | | @ApiOperation(value = "设å¤äºçº§ä¿å
»-æ¹éé¢å", notes = "设å¤äºçº§ä¿å
»-æ¹éé¢å") |
| | | @DeleteMapping(value = "/collectBatch") |
| | | public Result<?> collectBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | | List<String> list = Arrays.asList(ids.split(",")); |
| | | AtomicInteger i = new AtomicInteger(); |
| | | list.forEach(id -> { |
| | | EamSecondMaintenanceOrder entity = eamSecondMaintenanceOrderService.getById(id); |
| | | if (entity != null && SecondMaintenanceStatusEnum.WAIT_MAINTENANCE.name().equals(entity.getMaintenanceStatus())) { |
| | | boolean b = eamSecondMaintenanceOrderService.collect(id); |
| | | if (b) { |
| | | i.getAndIncrement(); |
| | | |
| | | // è®°å½æä½ç»æ |
| | | int successCount = 0; |
| | | List<Map<String, Object>> failedDetails = new ArrayList<>(); |
| | | List<String> successIds = new ArrayList<>(); |
| | | |
| | | for (String id : list) { |
| | | try { |
| | | EamSecondMaintenanceOrder entity = eamSecondMaintenanceOrderService.getById(id); |
| | | if (entity == null) { |
| | | // è®°å½å·¥åä¸åå¨ |
| | | failedDetails.add(createErrorItem(id, "å·¥åä¸åå¨", null)); |
| | | continue; |
| | | } |
| | | |
| | | // ç¶ææ ¡éª |
| | | if (!SecondMaintenanceStatusEnum.WAIT_MAINTENANCE.name().equals(entity.getMaintenanceStatus())) { |
| | | failedDetails.add(createErrorItem(id, |
| | | "å·¥åå½åç¶æä¸æ»¡è¶³é¢åæ¡ä»¶", |
| | | entity.getMaintenanceStatus())); |
| | | continue; |
| | | } |
| | | |
| | | // æ§è¡é¢åæä½ |
| | | boolean collectResult = eamSecondMaintenanceOrderService.collect(id); |
| | | |
| | | if (collectResult) { |
| | | successCount++; |
| | | successIds.add(id); |
| | | } else { |
| | | failedDetails.add(createErrorItem(id, "é¢åæä½æ§è¡å¤±è´¥", null)); |
| | | } |
| | | } catch (Exception e) { |
| | | failedDetails.add(createErrorItem(id, "ç³»ç»å¼å¸¸: " + e.getMessage(), null)); |
| | | } |
| | | }); |
| | | return Result.OK("æ¹éé¢åæå " + i.get() + " æ¡å·¥åï¼"); |
| | | } |
| | | |
| | | // æé è¿åç»æï¼ä½¿ç¨ä¸æ¹éä½åº/è¿åç¸åçæ¹æ³ï¼ |
| | | return buildBatchResult(successCount, failedDetails, successIds, "é¢å"); |
| | | } |
| | | |
| | | /** |
| | |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.modules.eam.constant.TechnicalStatusChangeOrderStatusEnum; |
| | | import org.jeecg.modules.eam.constant.TechnicalStatusEvaluationOrderChangeStatusEnum; |
| | | import org.jeecg.modules.eam.entity.EamTechnicalStatusChange; |
| | | import org.jeecg.modules.eam.request.EamTechnicalStatusChangeQuery; |
| | | import org.jeecg.modules.eam.request.EamTechnicalStatusChangeRequest; |
| | |
| | | if (entity == null) { |
| | | return Result.error("è¦ä½åºçæ°æ®ä¸åå¨ï¼è¯·å·æ°éè¯ï¼"); |
| | | } |
| | | if (!TechnicalStatusEvaluationOrderChangeStatusEnum.WAIT_SUBMIT.name().equals(entity.getChangeStatus())) { |
| | | if (!TechnicalStatusChangeOrderStatusEnum.WAIT_SUBMIT.name().equals(entity.getChangeStatus())) { |
| | | return Result.error("è¯¥ç¶æçæ°æ®ä¸å
许è¿è¡ä½åºï¼"); |
| | | } |
| | | entity.setChangeStatus(TechnicalStatusChangeOrderStatusEnum.ABOLISH.name()); |
| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.fastjson.parser.Feature; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.system.base.controller.JeecgController; |
| | | import org.jeecg.common.util.TranslateDictTextUtils; |
| | | import org.jeecg.modules.eam.constant.TechnicalStatusEvaluationOrderChangeStatusEnum; |
| | | import org.jeecg.modules.eam.entity.EamTechnicalStatusEvaluationOrderChange; |
| | | import org.jeecg.modules.eam.request.EamTechnicalStatusEvaluationOrderChangeQuery; |
| | |
| | | public class EamTechnicalStatusEvaluationOrderChangeController extends JeecgController<EamTechnicalStatusEvaluationOrderChange, IEamTechnicalStatusEvaluationOrderChangeService> { |
| | | @Autowired |
| | | private IEamTechnicalStatusEvaluationOrderChangeService eamTechnicalStatusEvaluationOrderChangeService; |
| | | @Autowired |
| | | private ObjectMapper objectMapper; |
| | | @Autowired |
| | | private TranslateDictTextUtils translateDictTextUtils; |
| | | |
| | | /** |
| | | * å页å表æ¥è¯¢ |
| | |
| | | } |
| | | boolean b = eamTechnicalStatusEvaluationOrderChangeService.addTechnicalStatusEvaluationOrderChange(request); |
| | | if (!b) { |
| | | return Result.error("æ·»å 失败ï¼"); |
| | | return Result.error("åæ´å¤±è´¥ï¼"); |
| | | } |
| | | return Result.OK("æ·»å æåï¼"); |
| | | return Result.OK("åæ´æåï¼"); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperation(value = "ææ¯ç¶æé´å®å·¥ååæ´-éè¿idæ¥è¯¢", notes = "ææ¯ç¶æé´å®å·¥ååæ´-éè¿idæ¥è¯¢") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |
| | | EamTechnicalStatusEvaluationOrderChange eamTechnicalStatusEvaluationOrderChange = eamTechnicalStatusEvaluationOrderChangeService.getById(id); |
| | | return Result.OK(eamTechnicalStatusEvaluationOrderChange); |
| | | EamTechnicalStatusEvaluationOrderChange entity = eamTechnicalStatusEvaluationOrderChangeService.getById(id); |
| | | if (entity == null) { |
| | | return Result.error("æªæ¾å°å¯¹åºæ°æ®"); |
| | | } |
| | | try { |
| | | String json = objectMapper.writeValueAsString(entity); |
| | | JSONObject item = JSONObject.parseObject(json, Feature.OrderedField); |
| | | translateDictTextUtils.translateField("orderId", entity.getOrderId(), item, "eam_technical_status_evaluation_order,order_num,id"); |
| | | translateDictTextUtils.translateField("applicant", entity.getApplicant(), item, "sys_user,realname,username"); |
| | | translateDictTextUtils.translateField("factoryOrgCode", entity.getFactoryOrgCode(), item, "eam_base_factory,factory_name,org_code"); |
| | | translateDictTextUtils.translateField("applyReason", entity.getApplyReason(), item, "technical_status_evaluation_order_change_reason"); |
| | | return Result.OK(item); |
| | | } catch (JsonProcessingException e) { |
| | | return Result.error("æ°æ®è½¬è¯å¤±è´¥ï¼"); |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.common.aspect.annotation.Dict; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | |
| | | private String changeOrderNum; |
| | | /**åæ´åç¶æ*/ |
| | | @ApiModelProperty(value = "åæ´åç¶æ") |
| | | @Dict(dicCode = "technical_status_change_order_status") |
| | | private String changeStatus; |
| | | /**ç³è¯·åä½*/ |
| | | @ApiModelProperty(value = "ç³è¯·åä½") |
| | | @Dict(dictTable = "eam_base_factory", dicText = "factory_name", dicCode = "org_code") |
| | | private String factoryOrgCode; |
| | | /**ç¼å¶äºº*/ |
| | | @ApiModelProperty(value = "ç¼å¶äºº") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String designer; |
| | | /**ç¼å¶æ¶é´*/ |
| | | @ApiModelProperty(value = "ç¼å¶æ¶é´") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date designerTime; |
| | | /**使ç¨åä½å®¤ä¸»ç®¡ç¾å*/ |
| | | @ApiModelProperty(value = "使ç¨åä½å®¤ä¸»ç®¡ç¾å") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String departHeaderSignature; |
| | | /**使ç¨åä½å®¤ä¸»ç®¡ç¾åæ¶é´*/ |
| | | @ApiModelProperty(value = "使ç¨åä½å®¤ä¸»ç®¡ç¾åæ¶é´") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date departHeaderSignatureTime; |
| | | /**使ç¨åä½å®¤ä¸»ç®¡ç¾åç»æ*/ |
| | | @ApiModelProperty(value = "使ç¨åä½å®¤ä¸»ç®¡ç¾åç»æ") |
| | | @Dict(dicCode = "approve_reject") |
| | | private String departHeaderSignatureResult; |
| | | /**使ç¨åä½å®¤ä¸»ç®¡æè§*/ |
| | | @ApiModelProperty(value = "使ç¨åä½å®¤ä¸»ç®¡æè§") |
| | | private String departHeaderComment; |
| | | /**使ç¨åä½é¨ä¸»ç®¡ç¾å*/ |
| | | @ApiModelProperty(value = "使ç¨åä½é¨ä¸»ç®¡ç¾å") |
| | | @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username") |
| | | private String departLeaderSignature; |
| | | /**使ç¨åä½é¨ä¸»ç®¡ç¾åæ¶é´*/ |
| | | @ApiModelProperty(value = "使ç¨åä½é¨ä¸»ç®¡ç¾åæ¶é´") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date departLeaderSignatureTime; |
| | | /**使ç¨åä½é¨ä¸»ç®¡ç¾åç»æ*/ |
| | | @ApiModelProperty(value = "使ç¨åä½é¨ä¸»ç®¡ç¾åç»æ") |
| | | @Dict(dicCode = "approve_reject") |
| | | private String departLeaderSignatureResult; |
| | | /**使ç¨åä½é¨ä¸»ç®¡ç¾å*/ |
| | | @ApiModelProperty(value = "使ç¨åä½é¨ä¸»ç®¡ç¾å") |
| | | /**使ç¨åä½é¨ä¸»ç®¡æè§*/ |
| | | @ApiModelProperty(value = "使ç¨åä½é¨ä¸»ç®¡æè§") |
| | | private String departLeaderComment; |
| | | /**HFç¼ç */ |
| | | @ApiModelProperty(value = "HFç¼ç ") |
| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | |
| | | private String changeCategory; |
| | | /**åæ´æ¥æ*/ |
| | | @ApiModelProperty(value = "åæ´æ¥æ") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date changeDate; |
| | | /**åæ´åææ¯ç¶æ;åæ´éè¿åé»è®¤è®¾å¤ææ¯ç¶ææ¹ä¸ºç¦ç¨*/ |
| | | @ApiModelProperty(value = "åæ´åææ¯ç¶æ;åæ´éè¿åé»è®¤è®¾å¤ææ¯ç¶ææ¹ä¸ºç¦ç¨") |
| | |
| | | /**éªæ¶æ£æ¥ç»æ;å¤§ä¿®ãæ¹é éè¦å¡«åéªæ¶ç»æï¼æ¬è¿æç
§ææ¯ç¶æé´å®å·¥åç»´æ¤ï¼å
¶ä»ææªä½¿ç¨å°ï¼åªé¢çæ¤ç±»å*/ |
| | | @ApiModelProperty(value = "éªæ¶æ£æ¥ç»æ;å¤§ä¿®ãæ¹é éè¦å¡«åéªæ¶ç»æï¼æ¬è¿æç
§ææ¯ç¶æé´å®å·¥åç»´æ¤ï¼å
¶ä»ææªä½¿ç¨å°ï¼åªé¢çæ¤ç±»å") |
| | | private String acceptanceCheckResult; |
| | | /**ææ¯ç¶æé´å®å·¥åID;æ¬è¿ä½¿ç¨*/ |
| | | @ApiModelProperty(value = "ææ¯ç¶æé´å®å·¥åID;æ¬è¿ä½¿ç¨") |
| | | private String orderId; |
| | | |
| | | //å表å±ç¤º |
| | | @TableField(exist = false) |
| | |
| | | private Date equipmentManagerSignatureTime; |
| | | /**主管é¢å¯¼ç¾åç»æ*/ |
| | | @ApiModelProperty(value = "主管é¢å¯¼ç¾åç»æ") |
| | | @Dict(dicCode = "approved_rejected") |
| | | @Dict(dicCode = "approve_reject") |
| | | private String equipmentManagerSignatureResult; |
| | | /**主管é¢å¯¼æè§*/ |
| | | @ApiModelProperty(value = "主管é¢å¯¼æè§") |
| | |
| | | private Date departManagerSignatureTime; |
| | | /**é¨é¨é¢å¯¼ç¾åç»æ*/ |
| | | @ApiModelProperty(value = "é¨é¨é¢å¯¼ç¾åç»æ") |
| | | @Dict(dicCode = "approved_rejected") |
| | | @Dict(dicCode = "approve_reject") |
| | | private String departManagerSignatureResult; |
| | | /**é¨é¨é¢å¯¼æè§*/ |
| | | @ApiModelProperty(value = "é¨é¨é¢å¯¼æè§") |
| | |
| | | private Date productionSupportSignatureTime; |
| | | /**ç产ä¿éé¨é¢å¯¼ç¾åç»æ*/ |
| | | @ApiModelProperty(value = "ç产ä¿éé¨é¢å¯¼ç¾åç»æ") |
| | | @Dict(dicCode = "approved_rejected") |
| | | @Dict(dicCode = "approve_reject") |
| | | private String productionSupportSignatureResult; |
| | | /**ç产ä¿éé¨é¢å¯¼æè§*/ |
| | | @ApiModelProperty(value = "ç产ä¿éé¨é¢å¯¼æè§") |
| | |
| | | /**HFç¼ç */ |
| | | @ApiModelProperty(value = "HFç¼ç ") |
| | | private String hfCode; |
| | | /**夿³¨*/ |
| | | @ApiModelProperty(value = "夿³¨") |
| | | private String remark; |
| | | |
| | | @TableField(exist = false) |
| | | private String equipmentCode; |
| | |
| | | package org.jeecg.modules.eam.job; |
| | | |
| | | import cn.hutool.core.collection.CollectionUtil; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.common.util.DateUtils; |
| | | import org.jeecg.modules.eam.constant.BusinessCodeConst; |
| | | import org.jeecg.modules.eam.constant.MaintenanceCategoryEnum; |
| | | import org.jeecg.modules.eam.constant.OrderCreationMethodEnum; |
| | | import org.jeecg.modules.eam.entity.EamInspectionOrder; |
| | | import org.jeecg.modules.eam.entity.EamInspectionOrderDetail; |
| | | import org.jeecg.modules.eam.entity.EamMaintenanceStandard; |
| | | import org.jeecg.modules.eam.entity.EamMaintenanceStandardDetail; |
| | |
| | | standard.setInitialDate(DateUtils.localDateToDate(now.minusDays(1))); |
| | | } |
| | | LocalDate generateDate = DateUtils.dateToLocalDate(standard.getInitialDate()); |
| | | //å 卿 |
| | | do { |
| | | //åå§æ¥æè®¾ç½®çæ¯è¾æ©ï¼æä»»å¡é¿æ¶é´æ²¡æ§è¡ï¼å¿
须卿å°ä»å¤©æä¼çæå·¥å |
| | | generateDate = generateDate.plusDays(standard.getMaintenancePeriod()); |
| | | } while (now.isAfter(generateDate)); |
| | | if (!now.isEqual(generateDate)) { |
| | | //è¿æªå°çææ¥æï¼è·³è¿æ§è¡ |
| | | if (!generateDate.equals(now)) { |
| | | //å 卿 |
| | | do { |
| | | //åå§æ¥æè®¾ç½®çæ¯è¾æ©ï¼æä»»å¡é¿æ¶é´æ²¡æ§è¡ï¼å¿
须卿å°ä»å¤©æä¼çæå·¥å |
| | | generateDate = generateDate.plusDays(standard.getMaintenancePeriod()); |
| | | } while (now.isAfter(generateDate)); |
| | | if (!now.isEqual(generateDate)) { |
| | | //è¿æªå°çææ¥æï¼è·³è¿æ§è¡ |
| | | continue; |
| | | } |
| | | } |
| | | //æ ¡éªçææ¥ææ¯å¦å·²æå·¥å |
| | | List<EamInspectionOrder> list = eamInspectionOrderService.list(new LambdaQueryWrapper<EamInspectionOrder>().eq(EamInspectionOrder::getEquipmentId, standard.getEquipmentId()).eq(EamInspectionOrder::getInspectionDate, DateUtils.localDateToDate(generateDate))); |
| | | if (!CollectionUtil.isEmpty(list)) { |
| | | continue; |
| | | } |
| | | //è·åä¿å
»é¡¹æç» |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.job; |
| | | |
| | | public class TechnicalStatusEvaluationExpiredJob { |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.job; |
| | | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentExtendService; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentService; |
| | | import org.jeecg.modules.eam.service.IEamTechnicalStatusEvaluationStandardDetailService; |
| | | import org.jeecg.modules.eam.service.IEamTechnicalStatusEvaluationStandardService; |
| | | import org.jeecg.modules.system.service.ISysParamsService; |
| | | import org.quartz.Job; |
| | | import org.quartz.JobExecutionContext; |
| | | import org.quartz.JobExecutionException; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | @Component |
| | | @Slf4j |
| | | public class TechnicalStatusEvaluationGenerateJob implements Job { |
| | | @Autowired |
| | | private IEamEquipmentService equipmentService; |
| | | @Autowired |
| | | private IEamEquipmentExtendService equipmentExtendService; |
| | | |
| | | @Autowired |
| | | private IEamTechnicalStatusEvaluationStandardService evaluationStandardService; |
| | | @Autowired |
| | | private IEamTechnicalStatusEvaluationStandardDetailService evaluationStandardDetailService; |
| | | @Autowired |
| | | private ISysParamsService paramsService; |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { |
| | | //è·å设å¤å表 |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.eam.job; |
| | | |
| | | public class TechnicalStatusEvaluationLockedJob { |
| | | } |
| | |
| | | package org.jeecg.modules.eam.request; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.modules.flowable.domain.vo.FlowTaskVo; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | private String applyReason; |
| | | /**åæ´é´å®æ¥æ*/ |
| | | @ApiModelProperty(value = "åæ´é´å®æ¥æ") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date deferredEvaluationDate; |
| | | /**主管é¢å¯¼ç¾åç»æ*/ |
| | | @ApiModelProperty(value = "主管é¢å¯¼ç¾åç»æ") |
| | |
| | | updateEamInspectionOrder(eamInspectionOrder); |
| | | |
| | | //æ¥è¯¢æ°æ®,è¿è¡è®¾å¤ç»´ä¿®å¤ç |
| | | if (eamInspectionOrder.getInspectionStatus().equals(InspectionStatus.WAIT_CONFIRM.name())) { |
| | | updateEamInspectionOrderDetail(eamInspectionOrder); |
| | | } |
| | | // if (eamInspectionOrder.getInspectionStatus().equals(InspectionStatus.WAIT_CONFIRM.name())) { |
| | | // updateEamInspectionOrderDetail(eamInspectionOrder); |
| | | // } |
| | | |
| | | return eamInspectionOrder; |
| | | } catch (Exception e) { |
| | |
| | | values.put("organization", request.getConfirmComment()); |
| | | values.put("comment", request.getConfirmComment()); |
| | | values.put("confirmation", request.getConfirmDealType()); |
| | | request.setComment(request.getConfirmComment()); |
| | | request.setComment("ç»´ä¿®å·¥ç¡®è®¤ç»æ"); |
| | | if ("2".equals(request.getConfirmDealType())) { |
| | | // 维修工驳å |
| | | List<String> usernames = new ArrayList<>(); |
| | | usernames.add(order.getOperator()); |
| | | order.setInspectionStatus(InspectionStatus.UNDER_INSPECTION.name()); |
| | | values.put("NextAssignee", usernames); |
| | | request.setComment("维修工驳åç»æ"); |
| | | } |
| | | } |
| | | request.setValues(values); |
| | |
| | | //å 餿 è®° |
| | | entity.setDelFlag(CommonConstant.DEL_FLAG_0); |
| | | //é夿§æ ¡éª |
| | | EamMaintenanceStandard exist = checkDuplicate(entity.getEquipmentId(), entity.getMaintenanceCategory(), MaintenanceStandardStatusEnum.WAIT_SUBMIT.name()); |
| | | EamMaintenanceStandard exist = checkDuplicate(entity.getEquipmentId(), entity.getMaintenanceCategory(), MaintenanceStandardStatusEnum.ABOLISH.name()); |
| | | if (exist != null) { |
| | | throw new JeecgBootException("è®¾å¤æ åå·²åå¨ï¼ä¸è½é夿·»å ï¼"); |
| | | } |
| | |
| | | //å 餿 è®° |
| | | newEntity.setDelFlag(CommonConstant.DEL_FLAG_0); |
| | | //é夿§æ ¡éª |
| | | EamMaintenanceStandard exist = checkDuplicate(newEntity.getEquipmentId(), newEntity.getMaintenanceCategory(), MaintenanceStandardStatusEnum.WAIT_SUBMIT.name()); |
| | | EamMaintenanceStandard exist = checkDuplicate(newEntity.getEquipmentId(), newEntity.getMaintenanceCategory(), MaintenanceStandardStatusEnum.ABOLISH.name()); |
| | | if (exist != null) { |
| | | throw new JeecgBootException("è®¾å¤æ åå·²åå¨ï¼ä¸è½é夿·»å ï¼"); |
| | | } |
| | |
| | | queryWrapper.eq(EamMaintenanceStandard::getEquipmentId, equipmentId); |
| | | queryWrapper.eq(EamMaintenanceStandard::getMaintenanceCategory, maintenanceCategory); |
| | | queryWrapper.eq(EamMaintenanceStandard::getDelFlag, CommonConstant.DEL_FLAG_0); |
| | | queryWrapper.eq(EamMaintenanceStandard::getStandardStatus, standardStatus); |
| | | queryWrapper.ne(EamMaintenanceStandard::getStandardStatus, standardStatus); |
| | | queryWrapper.orderByDesc(EamMaintenanceStandard::getStandardVersion); |
| | | |
| | | List<EamMaintenanceStandard> list = eamMaintenanceStandardMapper.selectList(queryWrapper); |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public Result<?> auditEamMaintenanceStandard(EamMaintenanceStandardVo eamMaintenanceStandardVo) { |
| | | try { |
| | | // åæ°æ ¡éª |
| | |
| | | |
| | | // æ£æ¥éå¤ |
| | | EamMaintenanceStandard exist = checkDuplicate(eamMaintenanceStandard.getEquipmentId(), |
| | | eamMaintenanceStandard.getMaintenanceCategory(), MaintenanceStandardStatusEnum.START.name()); |
| | | eamMaintenanceStandard.getMaintenanceCategory(), MaintenanceStandardStatusEnum.ABOLISH.name()); |
| | | if (exist != null) { |
| | | return Result.error(name + ": è®¾å¤æ åå·²åå¨ï¼ä¸è½é夿·»å "); |
| | | } |
| | |
| | | |
| | | // é
置类åç¸å
³åæ° |
| | | configureStandard(standard, type, file); |
| | | EamMaintenanceStandard exist = checkDuplicate(standard.getEquipmentId(), standard.getMaintenanceCategory(), MaintenanceStandardStatusEnum.START.name()); |
| | | EamMaintenanceStandard exist = checkDuplicate(standard.getEquipmentId(), standard.getMaintenanceCategory(), MaintenanceStandardStatusEnum.ABOLISH.name()); |
| | | if (exist != null) { |
| | | return Result.error(fileName + ": è®¾å¤æ åå·²åå¨ï¼ä¸è½é夿·»å "); |
| | | } |
| | |
| | | eamMaintenanceStandardDetailList.forEach(item -> { |
| | | EamSecondMaintenanceOrderDetail detail = new EamSecondMaintenanceOrderDetail(); |
| | | BeanUtils.copyProperties(item, detail); |
| | | detail.setId(null); |
| | | detail.setOrderId(order.getId()); |
| | | requestTableDetailList.add(detail); |
| | | }); |
| | |
| | | } |
| | | entity.setApplyReason(request.getApplyReason()); |
| | | entity.setDeferredEvaluationDate(request.getDeferredEvaluationDate()); |
| | | entity.setRemark(request.getRemark()); |
| | | this.getBaseMapper().updateById(entity); |
| | | return true; |
| | | } |
| | |
| | | entity.setDepartManagerSignatureTime(new Date()); |
| | | entity.setDepartManagerSignatureResult(request.getDepartManagerSignatureResult()); |
| | | entity.setDepartManagerComment(request.getDepartManagerComment()); |
| | | values.put("departLeaderConfirmFlag", request.getEquipmentManagerSignatureResult()); |
| | | if(BusinessCodeConst.APPROVED.equals(request.getDepartManagerSignatureResult())) { |
| | | //éè¿ |
| | | entity.setChangeStatus(TechnicalStatusEvaluationOrderChangeStatusEnum.PRODUCTION_SUPPORT_SIGNING.name()); |
| | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean updateEvaluationStatus(String orderId, String evaluationStatus) { |
| | | UpdateWrapper<EamTechnicalStatusEvaluationOrder> updateWrapper = new UpdateWrapper<>(); |
| | | updateWrapper.eq("order_id", orderId); |
| | | updateWrapper.eq("id", orderId); |
| | | updateWrapper.set("evaluation_status", evaluationStatus); |
| | | updateWrapper.eq("del_flag", CommonConstant.DEL_FLAG_0); |
| | | updateWrapper.eq("evaluation_status", TechnicalStatusEvaluationOrderStatusEnum.WAIT_EVALUATION.name()); |
| | | updateWrapper.in("evaluation_status", Arrays.asList(TechnicalStatusEvaluationOrderStatusEnum.WAIT_EVALUATION.name(), TechnicalStatusEvaluationOrderStatusEnum.LOCKED.name())); |
| | | int update = this.getBaseMapper().update(null, updateWrapper); |
| | | return update > 0; |
| | | } |