fix(测试计划): 计划功能用例展示状态有误
--bug=1041459 --user=宋昌昌 【测试计划】计划详情-用例详情-未执行用例右侧展示该用例的最后一次执行结果 https://www.tapd.cn/55049933/s/1535217
This commit is contained in:
parent
c8ea534382
commit
501c5b44a5
|
@ -708,6 +708,7 @@ public class TestPlanFunctionalCaseService extends TestPlanResourceService {
|
||||||
}
|
}
|
||||||
TestPlanCaseDetailResponse response = new TestPlanCaseDetailResponse();
|
TestPlanCaseDetailResponse response = new TestPlanCaseDetailResponse();
|
||||||
BeanUtils.copyBean(response, functionalCaseDetail);
|
BeanUtils.copyBean(response, functionalCaseDetail);
|
||||||
|
response.setLastExecuteResult(planFunctionalCase.getLastExecResult());
|
||||||
|
|
||||||
TestPlanCaseExecuteHistoryExample testPlanCaseExecuteHistoryExample = new TestPlanCaseExecuteHistoryExample();
|
TestPlanCaseExecuteHistoryExample testPlanCaseExecuteHistoryExample = new TestPlanCaseExecuteHistoryExample();
|
||||||
testPlanCaseExecuteHistoryExample.createCriteria().andCaseIdEqualTo(caseId).andTestPlanCaseIdEqualTo(id).andDeletedEqualTo(false);
|
testPlanCaseExecuteHistoryExample.createCriteria().andCaseIdEqualTo(caseId).andTestPlanCaseIdEqualTo(id).andDeletedEqualTo(false);
|
||||||
|
|
Loading…
Reference in New Issue