fix(测试跟踪):报告列表也页面,编辑报告总结保存,报告总结没有保存

--bug=1024990 --user=王旭 【测试跟踪】github#23292,测试跟踪】【报告】报告列表页,打开一个报告,编辑报告总结保存,报告总结没有被保存 https://www.tapd.cn/55049933/s/1358095
This commit is contained in:
WangXu10 2023-03-31 13:46:18 +08:00 committed by jianxing
parent 14b372e5ad
commit c9158d3c21
1 changed files with 3 additions and 0 deletions

View File

@ -1057,6 +1057,9 @@ public class TestPlanReportService {
TestPlanWithBLOBs testPlan = testPlanMapper.selectByPrimaryKey(testPlanReport.getTestPlanId());
testPlanReportDTO = testPlanService.generateReportStruct(testPlan, testPlanReport, testPlanReportContent, false);
}
if (StringUtils.isNotEmpty(testPlanReportContent.getSummary())) {
testPlanReportDTO.setSummary(testPlanReportContent.getSummary());
}
testPlanReportDTO.setId(reportId);
testPlanReportDTO.setName(testPlanReport.getName());
return testPlanReportDTO;