wenlele 2 years ago
parent
commit
fe4a88a6cf
  1. 2
      api/app/lib/controllers/alarm/video.js
  2. 0
      script/0.0.6/schema/1.alert_table.sql

2
api/app/lib/controllers/alarm/video.js

@ -120,7 +120,7 @@ async function alarmList (ctx) {
camera_status_alarm.confirm_time AS confirmTime
FROM camera_status_alarm
LEFT JOIN camera
INNER JOIN camera
ON camera.serial_no = camera_status_alarm.serial_no
AND camera.channel_no = camera_status_alarm.channel_no
${cameraWhereOption.length ? 'AND ' + cameraWhereOption.join(' AND ') : ''}

0
script/0.0.4 copy/schema/1.alert_table.sql → script/0.0.6/schema/1.alert_table.sql

Loading…
Cancel
Save