fix(测试计划报告): 修复部分测试计划报告展示时没统计到结束时间到问题
修复部分测试计划报告展示时没统计到结束时间到问题
This commit is contained in:
parent
112a71d1fa
commit
5e0958acd6
|
@ -418,6 +418,9 @@ public class TestPlanReportService {
|
||||||
public TestPlanReportContentWithBLOBs parseReportDaoToReportContent(TestPlanSimpleReportDTO reportDTO, TestPlanReportContentWithBLOBs testPlanReportContentWithBLOBs) {
|
public TestPlanReportContentWithBLOBs parseReportDaoToReportContent(TestPlanSimpleReportDTO reportDTO, TestPlanReportContentWithBLOBs testPlanReportContentWithBLOBs) {
|
||||||
String id = testPlanReportContentWithBLOBs.getId();
|
String id = testPlanReportContentWithBLOBs.getId();
|
||||||
String testPlanReportId = testPlanReportContentWithBLOBs.getTestPlanReportId();
|
String testPlanReportId = testPlanReportContentWithBLOBs.getTestPlanReportId();
|
||||||
|
if(testPlanReportContentWithBLOBs.getEndTime() != null){
|
||||||
|
reportDTO.setEndTime(testPlanReportContentWithBLOBs.getEndTime());
|
||||||
|
}
|
||||||
BeanUtils.copyBean(testPlanReportContentWithBLOBs, reportDTO);
|
BeanUtils.copyBean(testPlanReportContentWithBLOBs, reportDTO);
|
||||||
testPlanReportContentWithBLOBs.setId(id);
|
testPlanReportContentWithBLOBs.setId(id);
|
||||||
testPlanReportContentWithBLOBs.setTestPlanReportId(testPlanReportId);
|
testPlanReportContentWithBLOBs.setTestPlanReportId(testPlanReportId);
|
||||||
|
|
Loading…
Reference in New Issue