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 1b84bd0906
commit 2ac0a4b092
1 changed files with 3 additions and 0 deletions

View File

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