From 1c586c4e885652eb12dfa1a726c3d2f9987cf412 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 9 Nov 2022 09:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E6=8E=A8=E9=80=81=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/schedule/alarms_push.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/app/lib/schedule/alarms_push.js b/api/app/lib/schedule/alarms_push.js index 443ecac..57f8736 100644 --- a/api/app/lib/schedule/alarms_push.js +++ b/api/app/lib/schedule/alarms_push.js @@ -358,11 +358,13 @@ module.exports = function (app, opts) { order: [['createTime', 'DESC']], include: [{ model: models.App, + required: true, include: [{ model: models.ProjectApp, where: { projectId: pomsProjectId }, + required: true, }] }] })