lyhzzz 2 năm trước cách đây
mục cha
commit
df2b60eaaa
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/main/resources/mapper/UserMapper.xml

+ 2 - 1
src/main/resources/mapper/UserMapper.xml

@@ -22,8 +22,9 @@
         <if test="param.endTime != null and param.endTime != ''">
             and u.create_time  &lt;=   #{param.endTime}
         </if>
+        and u.dept_id in
         <foreach collection="param.deptIds" item="deptId" open="(" separator="," close=")">
-            and u.dept_id in #{deptId}
+            #{deptId}
         </foreach>
         order by u.create_time desc
     </select>