From d714b3555b0991d075bdfa2a46502e0fa40f4769 Mon Sep 17 00:00:00 2001 From: CODE <1650192445@qq.com> Date: Thu, 28 Sep 2023 19:05:58 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E9=A1=B9=E7=9B=AE=E9=9B=86=E7=AD=89?= =?UTF-8?q?=E7=BA=A7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/project/group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/controllers/project/group.js b/api/app/lib/controllers/project/group.js index eeacd6b..478888f 100644 --- a/api/app/lib/controllers/project/group.js +++ b/api/app/lib/controllers/project/group.js @@ -271,7 +271,7 @@ async function groupStatistic (ctx) { // if (gp.pepProjectId) { let corLevel = pepmCustomerLevelRes.find(p => p.projectId == gp.pepProjectId) - if (corLevel) { + if (corLevel && corLevel.id > 0) { pepmCustomerLevels.push(corLevel) } }