历史图片修改选择全部的时候查询bug

master
liuguijing 2 years ago
parent faff17f126
commit 96c16c72bc

@ -116,7 +116,7 @@
<include refid="Base_Column_List"/>
from terminal_photos
where photo_time between #{starttime} and #{endtime}
<if test="terminalidlist != null">
<if test="terminalidlist != null and terminalidlist.size > 0">
and term_id in
<foreach collection="terminalidlist" item="item" index="index" open="(" close=")" separator=",">
#{item}

Loading…
Cancel
Save