From 960e8f5185866119ea9cf79941e08549363c32b3 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Tue, 11 Oct 2022 09:53:13 +0800 Subject: [PATCH] =?UTF-8?q?fix=205810=20=E6=99=AE=E9=80=9A=E6=88=90?= =?UTF-8?q?=E5=91=98=E7=99=BB=E5=BD=95=E5=90=8E=E6=9F=A5=E7=9C=8B=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=BC=82=E5=B8=B8=E6=95=B0=E6=8D=AE=E8=8C=83=E5=9B=B4?= =?UTF-8?q?=E6=9C=AA=E5=81=9A=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/alarm/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/app/lib/controllers/alarm/app.js b/api/app/lib/controllers/alarm/app.js index f66e740..e35d329 100644 --- a/api/app/lib/controllers/alarm/app.js +++ b/api/app/lib/controllers/alarm/app.js @@ -261,6 +261,10 @@ async function apiErrorList (ctx) { '$app.name$': { $like: `%${keyword}%` } } ) + } else { + findOption.where['$app->projectCorrelations.id$'] = { + $in: pomsProjectIds + } } if (errType) {