diff --git a/api/app/lib/controllers/project/group.js b/api/app/lib/controllers/project/group.js index 02fd38d..f47cd73 100644 --- a/api/app/lib/controllers/project/group.js +++ b/api/app/lib/controllers/project/group.js @@ -319,7 +319,8 @@ async function groupStatisticOnline (ctx) { const maxOfflineTimeRes = strucIdArr.length ? await models.StructureOff.findAll({ where: { structure: { $in: strucIdArr }, - state: 0 + state: 0, + offline: { $gt: 720 } } }) : []