fix(消息通知): 修复编辑评审没有创建人变量的问题

--bug=1007495 --user=刘瑞斌 【消息通知】模板变量问题汇总 https://www.tapd.cn/55049933/s/1102346
This commit is contained in:
CaptainB 2022-02-09 16:55:34 +08:00 committed by 刘瑞斌
parent 626a87966d
commit e6987449fe
2 changed files with 2 additions and 1 deletions

View File

@ -179,6 +179,7 @@ public class SendNoticeAspect {
BaseSystemConfigDTO baseSystemConfigDTO = systemParameterService.getBaseInfo();
paramMap.put("url", baseSystemConfigDTO.getUrl());
paramMap.put("operator", SessionUtils.getUser().getName());
paramMap.put("planShareUrl", ""); // 占位符
paramMap.putAll(resource);
return paramMap;
}

View File

@ -238,7 +238,7 @@ public class TestCaseReviewService {
testCaseReview.setUpdateTime(System.currentTimeMillis());
checkCaseReviewExist(testCaseReview);
testCaseReviewMapper.updateByPrimaryKeySelective(testCaseReview);
return testCaseReview;
return testCaseReviewMapper.selectByPrimaryKey(testCaseReview.getId());
}
private void editCaseReviewer(SaveTestCaseReviewRequest testCaseReview) {