|
@@ -143,7 +143,7 @@
|
|
|
<if test="alarmType != null and alarmType != ''">
|
|
|
and UPPER(a.alarm_type) like UPPER(CONCAT('%',#{alarmType},'%'))
|
|
|
</if>
|
|
|
- <if test="ids != null">
|
|
|
+ <if test="ids != null and ids.size>0">
|
|
|
and a.id in
|
|
|
<foreach item="items" collection="ids" separator="," open="(" close=")" index="">
|
|
|
#{items}
|