From b63f6f6806eaf11bd9a836a5939b3a8cf6c44f45 Mon Sep 17 00:00:00 2001 From: zhaokai Date: Mon, 13 Apr 2026 17:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E6=82=A3=E8=80=83=E8=AF=84=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/HiddenEvaluationRecordMapper.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml b/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml index a7bdb92..1cb395c 100644 --- a/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/HiddenEvaluationRecordMapper.xml @@ -264,7 +264,6 @@ LEFT JOIN user usr ON ec.user_id = usr.id WHERE ec.corpinfo_id = ci.id AND ec.delete_enum = 'FALSE' AND ec.evaluation_type = 2) AS envEvaluationMember FROM ( - -- 主数据源:配置企业 + type=2企业 SELECT DISTINCT ecorp.corpinfo_id, ecorp.delete_enum @@ -282,11 +281,9 @@ AND ci.use_flag = 1 ) ec LEFT JOIN corp_info ci ON ec.corpinfo_id = ci.id AND ci.delete_enum = 'FALSE' - -- 关联考评配置表(用于筛选部门、考评人) LEFT JOIN evaluation_config ecConfig ON ec.corpinfo_id = ecConfig.corpinfo_id AND ecConfig.delete_enum = 'FALSE' LEFT JOIN department configDept ON ecConfig.department_id = configDept.id LEFT JOIN user configUser ON ecConfig.user_id = configUser.id - -- 关联隐患数据 LEFT JOIN hidden h ON h.corp_id = ec.corpinfo_id AND h.delete_enum = 'FALSE'