|
|
@ -49,7 +49,7 @@ async function list (ctx) { |
|
|
|
whereOption.push(`alarms.AlarmGroup IN (${groupId})`) |
|
|
|
} |
|
|
|
if (groupUnitId) { |
|
|
|
whereOption.push(`alarms.AlarmGroupUnit=${groupId}`) |
|
|
|
whereOption.push(`alarms.AlarmGroupUnit=${groupUnitId}`) |
|
|
|
} |
|
|
|
if (sustainTimeStart && sustainTimeEnd) { |
|
|
|
let momentStart = moment(sustainTimeStart).format() |
|
|
|