From 55fa5dd09bb9f1b1da2e8e8d75ba0f428aa228c8 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 23 Nov 2022 10:08:59 +0800 Subject: [PATCH] =?UTF-8?q?EM=E6=8E=A8=E9=80=81=E4=BF=A1=E6=81=AF=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/push/config.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/api/app/lib/controllers/push/config.js b/api/app/lib/controllers/push/config.js index 9fb0997..9d11e33 100644 --- a/api/app/lib/controllers/push/config.js +++ b/api/app/lib/controllers/push/config.js @@ -8,23 +8,11 @@ async function list (ctx) { const { clickHouse } = ctx.app.fs const { utils: { anxinStrucIdRange, pomsProjectRange } } = ctx.app.fs const { keyword, keywordTarget, alarmType, state, tactics, pomsProjectId } = ctx.query - - // let projectCorrelationWhere = { - // del: false, - // } - // if (state == 'notYet') { - // projectCorrelationWhere.pepProjectId = { $ne: null } - // } let findOption = { where: { del: false }, order: [['id', 'desc']], - // includes: [{ - // model: models.ProjectCorrelation, - // where: projectCorrelationWhere, - // required: true - // }] } let anxinStrucsRange = await anxinStrucIdRange({ @@ -120,7 +108,7 @@ async function list (ctx) { continue } } - } else if(state == 'notYet'){ + } else if (state == 'notYet') { continue } filterBinds.push(corBind)