From d795180cead9054967d332a1ac58f0f8cf55fb57 Mon Sep 17 00:00:00 2001
From: zhangjianqian <zhangjianqian@hotmail.com>
Date: Tue, 6 Dec 2022 16:14:14 +0800
Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E9=9A=90=E6=82=A3?=
 =?UTF-8?q?=E6=8E=92=E6=9F=A5=20forecah=20list=E7=A9=BA=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../src/main/resources/mapper/system/TStaningBookMapper.xml   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml b/danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml
index 654c30e..e13d60c 100644
--- a/danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml
+++ b/danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml
@@ -56,8 +56,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN t_staff s3 ON b.`person_liable` = s3.`staff_id`
         LEFT JOIN sys_dept d ON d.`dept_id` = b.`dept_id`
         <where>
-            AND s1.dept_id in
-            <foreach collection="deptList" item="deptId" open="(" separator="," close=")">
+
+            <foreach collection="deptList" item="deptId" open="AND s1.dept_id in (" separator="," close=")">
                 #{deptId}
             </foreach>
             <if test="troubleName != null  and troubleName != ''"> and b.trouble_name like concat('%', #{troubleName}, '%')</if>
-- 
2.18.1