From 6e13f0b85bc9c955b91544a036cabc6223633434 Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Fri, 18 Dec 2020 17:42:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=A9=BA=E6=8C=87=E9=92=88=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/track/service/TestPlanService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index cf31e92af4..c218d0e95b 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -150,8 +150,8 @@ public class TestPlanService { if (!StringUtils.isBlank(testPlan.getStatus())) { BeanUtils.copyBean(testPlans, getTestPlan(testPlan.getId())); String context = getTestPlanContext(testPlans, NoticeConstants.Event.UPDATE); - User user = userMapper.selectByPrimaryKey(testPlan.getCreator()); - Map paramMap = getTestPlanParamMap(testPlan); + User user = userMapper.selectByPrimaryKey(testPlans.getCreator()); + Map paramMap = getTestPlanParamMap(testPlans); paramMap.put("creator", user.getName()); NoticeModel noticeModel = NoticeModel.builder() .context(context) @@ -533,8 +533,8 @@ public class TestPlanService { try { BeanUtils.copyBean(_testPlans, testPlans); String context = getTestPlanContext(_testPlans, NoticeConstants.Event.UPDATE); - User user = userMapper.selectByPrimaryKey(testPlan.getCreator()); - Map paramMap = getTestPlanParamMap(testPlan); + User user = userMapper.selectByPrimaryKey(_testPlans.getCreator()); + Map paramMap = getTestPlanParamMap(_testPlans); paramMap.put("creator", user.getName()); NoticeModel noticeModel = NoticeModel.builder() .context(context)