Browse Source

查询pepm项目

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

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

@ -171,6 +171,7 @@ async function groupStatistic (ctx) {
let pepmProjectIdArr = Array.from(pepmProjectIds) let pepmProjectIdArr = Array.from(pepmProjectIds)
// 查询pepm项目的客户等级 // 查询pepm项目的客户等级
console.log(`查询pepm项目`, pepmProjectIdArr.join(','));
let pepmCustomerLevelRes = pepmProjectIdArr.length ? await clickHouse.projectManage.query( let pepmCustomerLevelRes = pepmProjectIdArr.length ? await clickHouse.projectManage.query(
` `
SELECT DISTINCT t_rpm_customer_level.id AS id, t_rpm_customer_level.name AS name FROM t_pim_project SELECT DISTINCT t_rpm_customer_level.id AS id, t_rpm_customer_level.name AS name FROM t_pim_project

Loading…
Cancel
Save