Browse Source

EM推送信息查询

dev
巴林闲侠 2 years ago
parent
commit
55fa5dd09b
  1. 14
      api/app/lib/controllers/push/config.js

14
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)

Loading…
Cancel
Save