From ee03b526152d335dd1e42bc01a1f717d1205204c Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 26 五月 2025 15:27:04 +0800
Subject: [PATCH] (部级录像可用率,重点录像可用率,录像可用率)计算可用率bug修复,hk接口bug修复,

---
 ycl-server/src/main/resources/mapper/zgyw/YwUnitMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/YwUnitMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/YwUnitMapper.xml
index b88a779..23545c9 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/YwUnitMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/YwUnitMapper.xml
@@ -57,13 +57,14 @@
         <if test="query.start != null and query.end != null">
             AND wo.create_time BETWEEN #{query.start} AND #{query.end}
         </if>
-        <if test="query.errorTypeList != null and query.errorTypeList.size() > 0">
+        <if test="query.errorTypeList != null and query.errorTypeList.size>0">
             AND (EXISTS (
             SELECT 1
             FROM t_work_order_error_type twoet
             WHERE twoet.work_order_no = wo.work_order_no
             AND twoet.error_name in
-            <foreach collection="query.errorTypeList" open="(" separator="," close=")" item="errorType">#{errorType}
+            <foreach collection="query.errorTypeList" open="(" close=")" separator="," item="errorType">
+                #{errorType}
             </foreach>
             ))
         </if>

--
Gitblit v1.8.0