@@ -93,4 +93,6 @@ public class MsgAlarmVo extends PageVo implements Serializable {
* 解除报警类型1实报2误报
*/
private Integer releasedType;
+
+ private List<Long> ids;
}
@@ -321,6 +321,12 @@
<if test="endMile != null and endMile != 0">
and b.end_mile <=#{endMile}
</if>
+ <if test="ids != null and ids.size>0">
+ and a.id in
+ <foreach item="items" collection="ids" separator="," open="(" close=")" index="">
+ #{items}
+ </foreach>
+ </if>
<if test="!dsFlay">
and
<trim prefix="(" prefixOverrides="or" suffix=")">