diff --git a/api/app/lib/controllers/overview/management.js b/api/app/lib/controllers/overview/management.js index fdece6e6..c97d3a35 100644 --- a/api/app/lib/controllers/overview/management.js +++ b/api/app/lib/controllers/overview/management.js @@ -19,7 +19,10 @@ async function overSpeedList (ctx) { const overSpeedProcessedCount = await models.Overspeed.count({ where: { - processingTime: { $ne: null } + $and: [ + { processingTime: { $ne: null } }, + { processingTime: { $ne: '' } } + ] } })