fix(测试跟踪):报告列表也页面,编辑报告总结保存,报告总结没有保存
--bug=1024990 --user=王旭 【测试跟踪】github#23292,测试跟踪】【报告】报告列表页,打开一个报告,编辑报告总结保存,报告总结没有被保存 https://www.tapd.cn/55049933/s/1358095
This commit is contained in:
parent
14b372e5ad
commit
c9158d3c21
|
@ -1057,6 +1057,9 @@ public class TestPlanReportService {
|
||||||
TestPlanWithBLOBs testPlan = testPlanMapper.selectByPrimaryKey(testPlanReport.getTestPlanId());
|
TestPlanWithBLOBs testPlan = testPlanMapper.selectByPrimaryKey(testPlanReport.getTestPlanId());
|
||||||
testPlanReportDTO = testPlanService.generateReportStruct(testPlan, testPlanReport, testPlanReportContent, false);
|
testPlanReportDTO = testPlanService.generateReportStruct(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;
|
||||||
|
|
Loading…
Reference in New Issue