@ -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 }
}
}) : []