Update from Sync Service
This commit is contained in:
12
数据库/内蒙古数据FTP推送脚本快速获取.md
Executable file
12
数据库/内蒙古数据FTP推送脚本快速获取.md
Executable file
@@ -0,0 +1,12 @@
|
||||
```sql
|
||||
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
|
||||
```sql
|
||||
right join safeMonitorMgr.dbo.HimonitorSyncConfig as c
|
||||
```
|
||||
on c.DeviceID=a.id
|
||||
```sql
|
||||
where b.ProjectID =84 or b.ProjectID=85
|
||||
```
|
||||
Reference in New Issue
Block a user