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) } }