From 7d3130c4fe7e04906098004e8a5928b03c8bcacc Mon Sep 17 00:00:00 2001 From: shihongwei <178899525@qq.com> Date: Tue, 28 Jul 2026 16:47:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E9=9A=90=E6=82=A3?= =?UTF-8?q?=E6=8E=92=E6=9F=A5=E8=AE=A1=E5=88=92=E5=88=97=E8=A1=A8=E5=BE=85?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E4=BA=BA=E6=95=B0=E7=BB=9F=E8=AE=A1=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=8F=AA=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E4=B8=AD(status=3D2,5)=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/securityManagement/HotHiddenDangerPlanMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/mapper/securityManagement/HotHiddenDangerPlanMapper.xml b/src/main/resources/mapper/securityManagement/HotHiddenDangerPlanMapper.xml index 64d4880..b05a70d 100644 --- a/src/main/resources/mapper/securityManagement/HotHiddenDangerPlanMapper.xml +++ b/src/main/resources/mapper/securityManagement/HotHiddenDangerPlanMapper.xml @@ -29,7 +29,7 @@ i.plan_id, SUM(CASE WHEN i.status IN (3, 9) THEN 1 ELSE 0 END) AS completed_count, SUM(CASE WHEN i.status IS NULL OR i.status NOT IN (3, 9) THEN 1 ELSE 0 END) AS pending_count, - SUM(CASE WHEN i.status NOT IN (3, 6, 7, 8, 9, 10) THEN 1 ELSE 0 END) AS pending_audit_count + SUM(CASE WHEN i.status IN (2, 5) THEN 1 ELSE 0 END) AS pending_audit_count FROM hot_hidden_danger_inspection i WHERE i.is_deleted = 0 GROUP BY i.plan_id