mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-23 22:06:39 +08:00
git commit
getEmployeeByIds 拼接sql括号添加
This commit is contained in:
parent
72118743ef
commit
3b1603aceb
@ -146,7 +146,7 @@
|
||||
t_employee e
|
||||
WHERE
|
||||
e.department_id IN
|
||||
<foreach collection="departmentIds" item="item" close="(" close=")" separator=",">
|
||||
<foreach collection="departmentIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
order by e.create_time desc
|
||||
@ -158,7 +158,7 @@
|
||||
FROM
|
||||
t_employee e
|
||||
where e.id IN
|
||||
<foreach collection="ids" item="item" separator=",">
|
||||
<foreach collection="ids" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
order by e.create_time desc
|
||||
|
Loading…
Reference in New Issue
Block a user