From b10f7dc5c05062e6792f522ae1fb4de446189d3e Mon Sep 17 00:00:00 2001
From: 123456 <123456>
Date: 星期二, 16 七月 2024 17:44:39 +0800
Subject: [PATCH] 区间合并,检验下单时型号参数匹配

---
 performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml b/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml
index 2fced33..d898a23 100644
--- a/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml
+++ b/performance-server/src/main/resources/mapper/AuxiliaryCorrectionHoursMapper.xml
@@ -49,8 +49,9 @@
         select ach.*,name
         FROM auxiliary_correction_hours ach
         left join user on user.id=ach.name_user
+        WHERE 1=1
         <if test="ids !=null and ids != ''">
-            WHERE name_user in
+            and name_user in
             <foreach collection="ids" index="index" open="(" separator="," close=")" item="val">
                 #{val}
             </foreach>

--
Gitblit v1.9.3