Files
chill_notes/数据库/内蒙古数据FTP推送脚本快速获取.md
2026-04-21 17:42:54 +08:00

440 B
Executable File

select a.DeviceName,b.ProjectID,a.id as DeviceId,a.MonTypeID,b.StationCode, b.Latitude as B ,b.Longitude as L,c.ConvertXValue as OriginX,c.ConvertYValue as OriginY,c.ConvertZValue as OriginZ from safeMonitorMgr.dbo.Mgr_Device as a
right join safeMonitorMgr.dbo.station as b

on a.StationID=b.Id

right join safeMonitorMgr.dbo.HimonitorSyncConfig as c

on c.DeviceID=a.id

where b.ProjectID =84 or b.ProjectID=85