From 19278b0c24916e67ff02b758e1317a6c7ddb8c4c Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 30 Jul 2022 11:13:21 +0800 Subject: [PATCH] =?UTF-8?q?=20=E7=AE=A1=E7=90=86-=E6=B2=BB=E8=B6=85?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=90=8E=E5=8F=B0=E7=BC=96=E8=BE=91=E6=97=B6?= =?UTF-8?q?=E5=B0=86=E5=A4=84=E7=90=86=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E6=B8=85=E7=A9=BA=EF=BC=8C=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=BB=B6=E6=95=B0=E6=9C=AA=E5=87=8F=E5=B0=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/overview/management.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: '' } } + ] } })