feat(project): 添加摄像头类型筛选功能
parent
786969f2ee
commit
15b3337d9d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue