feat(project): 添加摄像头类型筛选功能

dev_visual_page
zhaokai 2026-08-06 13:41:52 +08:00
parent 786969f2ee
commit 15b3337d9d
2 changed files with 6 additions and 0 deletions

View File

@ -18,4 +18,7 @@ public class KeyProjectLargeScreenMobileMonitoringQry extends PageQuery {
@ApiModelProperty(value = "港区1:秦皇岛港区,2:秦皇岛东,3:秦皇岛西", name = "portArea")
private Integer portArea;
@ApiModelProperty(value = "摄像头类型1:固定摄像头2:移动摄像头", name = "cameraType")
private Integer cameraType;
}

View File

@ -804,6 +804,9 @@
<if test="params.portArea != null">
AND cp.port_area = #{params.portArea}
</if>
<if test="params.cameraType != null">
AND kpc.camera_type = #{params.cameraType}
</if>
ORDER BY kp.create_time DESC, kpc.camera_type ASC, kpc.create_time DESC
</select>
</mapper>