From e9f312a1a0410644bf8c20778a8fe0c93f2327c9 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 19 Aug 2021 16:43:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=8F=91=E9=80=81=E7=AB=99?= =?UTF-8?q?=E5=86=85=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/notice/sender/AbstractNoticeSender.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java b/backend/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java index 956b3585d3..9436ee6f7b 100644 --- a/backend/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java +++ b/backend/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java @@ -134,6 +134,10 @@ public abstract class AbstractNoticeSender implements NoticeSender { if (createUser != null) { toUsers.add(new Receiver(createUser.toString(), NotificationConstants.Type.SYSTEM_NOTICE.name())); } + createUser = paramMap.get("userId"); + if (createUser != null) { + toUsers.add(new Receiver(createUser.toString(), NotificationConstants.Type.SYSTEM_NOTICE.name())); + } break; case NoticeConstants.RelatedUser.MAINTAINER: if (StringUtils.equals(NoticeConstants.Event.COMMENT, event)) {