From 127af83ff969f7b9f986680f251ddf108f29fb4e Mon Sep 17 00:00:00 2001 From: wenyann Date: Thu, 15 Jul 2021 16:13:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E3=80=90github#4580=E3=80=91=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=AF=84=E5=AE=A1=E4=BB=BB=E5=8A=A1=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=EF=BC=8C=E8=B0=81=E5=88=A0=E9=99=A4=E8=AF=84?= =?UTF-8?q?=E5=AE=A1=E5=B0=B1=E7=BB=99=E8=B0=81=E5=8F=91=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E4=B8=8E=E6=B6=88=E6=81=AF=E8=AE=BE=E7=BD=AE=E4=B8=8D?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/track/service/TestCaseReviewService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java index d08aa6ee8e..b34af09d71 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java @@ -292,7 +292,7 @@ public class TestCaseReviewService { // 发送通知 try { List userIds = new ArrayList<>(); - userIds.add(SessionUtils.getUser().getId()); + userIds.add(testCaseReview.getCreator()); SaveTestCaseReviewRequest testCaseReviewRequest = new SaveTestCaseReviewRequest(); BeanUtils.copyProperties(testCaseReviewRequest, testCaseReview); String context = getReviewContext(testCaseReviewRequest, NoticeConstants.Event.DELETE);