Browse Source

fix 项目集等级信息

dev
CODE 1 year ago
parent
commit
d714b3555b
  1. 2
      api/app/lib/controllers/project/group.js

2
api/app/lib/controllers/project/group.js

@ -271,7 +271,7 @@ async function groupStatistic (ctx) {
// //
if (gp.pepProjectId) { if (gp.pepProjectId) {
let corLevel = pepmCustomerLevelRes.find(p => p.projectId == gp.pepProjectId) let corLevel = pepmCustomerLevelRes.find(p => p.projectId == gp.pepProjectId)
if (corLevel) { if (corLevel && corLevel.id > 0) {
pepmCustomerLevels.push(corLevel) pepmCustomerLevels.push(corLevel)
} }
} }

Loading…
Cancel
Save