@@ -4,6 +4,7 @@ import com.ozs.common.vo.PageVo;
import lombok.Data;
import java.io.Serializable;
+import java.util.List;
/**
* <p>
@@ -52,4 +53,6 @@ public class BaseCameraManagementVo extends PageVo implements Serializable {
* 监控范围结束里程位置字符串形式
*/
private String endMiles;
+
+ private List<Long> ids;
}
@@ -21,6 +21,12 @@
<if test="endMile != null and endMile != 0">
and 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>
</where>
</select>