diff --git a/renren-admin/src/main/resources/mapper/monitor/CameraChannelMapper.xml b/renren-admin/src/main/resources/mapper/monitor/CameraChannelMapper.xml index beb03e0d..32fafddb 100644 --- a/renren-admin/src/main/resources/mapper/monitor/CameraChannelMapper.xml +++ b/renren-admin/src/main/resources/mapper/monitor/CameraChannelMapper.xml @@ -145,7 +145,9 @@ AND tcc.node_name LIKE CONCAT(#{path},'%') - AND tcc.check_status IN (${map.checkStatus}) + + AND tcc.check_status IN (${map.checkStatus}) + AND tcc.gps_x != '' AND tcc.gps_y != '' AND tcc.gps_x IS NOT NULL @@ -193,8 +195,9 @@ AND tcc.node_name LIKE CONCAT(#{path},'%') - - AND tcc.check_status IN (${map.checkStatus}) + + AND tcc.check_status IN (${map.checkStatus}) + AND tcc.channel_name LIKE CONCAT('%',#{map.cameraName},'%')