From 4dfe74ebd52ae5cdda4d4f94b39370d625bb5920 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 20 Dec 2022 11:34:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1=E6=97=B6?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E9=80=9A=E7=9F=A5=E4=B8=8D=E8=83=BD=E5=8F=91?= =?UTF-8?q?=E7=BB=99=E7=BB=B4=E6=8A=A4=E4=BA=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020970 --user=刘瑞斌 【消息通知】github #20647,用例评审消息通知,设置评审通知,不生效 https://www.tapd.cn/55049933/s/1317406 Closes #20647 --- .../io/metersphere/notice/sender/AbstractNoticeSender.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java index fbb6933ea1..eadca2963f 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/notice/sender/AbstractNoticeSender.java @@ -190,6 +190,10 @@ public abstract class AbstractNoticeSender implements NoticeSender { .collect(Collectors.toList()); toUsers.addAll(receivers); } + // 评审评论时这个维护人是创建人 + if (paramMap.containsKey("creator")) { + toUsers.add(new Receiver((String) paramMap.get("creator"), NotificationConstants.Type.SYSTEM_NOTICE.name())); + } } break; case NoticeConstants.RelatedUser.FOLLOW_PEOPLE: