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