Browse Source

注释 alarms.subStations 的查询

dev
CODE 2 years ago
parent
commit
9fcfe4e432
  1. 5
      api/app/lib/schedule/alarms_push.js

5
api/app/lib/schedule/alarms_push.js

@ -1190,8 +1190,7 @@ module.exports = function (app, opts) {
alarms.SourceName AS SourceName,
alarms.AlarmCode AS AlarmCode,
alarms.SourceTypeId AS SourceTypeId,
alarms.StructureId AS StructureId,
alarms.subStations AS subStations
alarms.StructureId AS StructureId
FROM
alarms
WHERE
@ -1201,6 +1200,8 @@ module.exports = function (app, opts) {
AND
alarms.State < 3
`
// ,
// alarms.subStations AS subStations
).toPromise() || []
let alarmDatas = []

Loading…
Cancel
Save