From 72cf26ec72a8cd7fcc430ce8344266a80e581607 Mon Sep 17 00:00:00 2001 From: yitonglei Date: Fri, 22 Jul 2022 16:06:44 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E8=83=BD=E5=8A=9B=E9=9B=86=E5=B8=82-?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E7=9A=84sql=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5=E5=A2=9E=E5=8A=A0=20check=5Fstatus=20=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/monitor/CameraChannelMapper.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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},'%')