|
@ -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 |
|
|