Browse Source

fix 告警关键字筛选

dev
巴林闲侠 2 years ago
parent
commit
2df61b25f4
  1. 2
      api/app/lib/utils/dataRange.js

2
api/app/lib/utils/dataRange.js

@ -44,7 +44,7 @@ module.exports = function (app, opts) {
// 查询项企项目的信息 // 查询项企项目的信息
let pepProjectWhereOptions = [] let pepProjectWhereOptions = []
if (keywordTarget == 'pepProject' && keyword) { if (keywordTarget == 'pepProject' && keyword) {
pepProjectWhereOptions.push(`name LIKE '%${keyword}%')`) pepProjectWhereOptions.push(`t_pim_project.project_name LIKE '%${keyword}%'`)
} }
const pepProjectRes = pepProjectIds.length ? const pepProjectRes = pepProjectIds.length ?
await clickHouse.projectManage.query( await clickHouse.projectManage.query(

Loading…
Cancel
Save