Merge branch 'limingyu-2024-05-07-重点工程视频更新' into pet
commit
4c7fc6e698
|
@ -84,11 +84,13 @@
|
||||||
v.LONGITUDE,
|
v.LONGITUDE,
|
||||||
v.LATITUDE,
|
v.LATITUDE,
|
||||||
u.CORPINFO_ID,
|
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
|
FROM
|
||||||
`qa-gwj-regulatory`.bus_videomanager v
|
`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-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-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
|
WHERE
|
||||||
v.ISDELETE = '0'
|
v.ISDELETE = '0'
|
||||||
AND o.STATE = '1'
|
AND o.STATE = '1'
|
||||||
|
|
Loading…
Reference in New Issue