From 43a315717947c3422ba0a2f0d628a73c8b1fa0e3 Mon Sep 17 00:00:00 2001 From: limingyu Date: Tue, 7 May 2024 13:44:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=82=B9=E5=B7=A5=E7=A8=8B=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E8=A7=86=E9=A2=91=E7=82=B9=E4=BD=8D=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=98=AF=E5=90=A6=E5=9C=A8=E7=BA=BF2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mybatis/datasource/map/MapKeyProjectMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mybatis/datasource/map/MapKeyProjectMapper.xml b/src/main/resources/mybatis/datasource/map/MapKeyProjectMapper.xml index f266ca86..04a66868 100644 --- a/src/main/resources/mybatis/datasource/map/MapKeyProjectMapper.xml +++ b/src/main/resources/mybatis/datasource/map/MapKeyProjectMapper.xml @@ -84,11 +84,13 @@ v.LONGITUDE, v.LATITUDE, u.CORPINFO_ID, - v.VIDEONAME as MAP_POINT_NAME + v.VIDEONAME as MAP_POINT_NAME, + if(r.ONLINE_STATUS is null, '-1',if(r.ONLINE_STATUS = '1','1','0')) as ONLINE_STATUS FROM `qa-gwj-regulatory`.bus_videomanager v LEFT JOIN `qa-gwj-regulatory`.bus_outsourced o on v.OUTSOURCED_ID = o.OUTSOURCED_ID LEFT JOIN `qa-gwj-prevention`.vi_user_all u on o.CREATOR = u.USER_ID + LEFT JOIN `qa-gwj-regulatory`.bus_video_resources r on v.VIDEO_RESOURCES_ID = r.VIDEO_RESOURCES_ID and r.ISDELETE = '0' WHERE v.ISDELETE = '0' AND o.STATE = '1'