diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanFunctionalCaseService.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanFunctionalCaseService.java index e0e87f4a38..2a8e17ad42 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanFunctionalCaseService.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/service/TestPlanFunctionalCaseService.java @@ -708,6 +708,7 @@ public class TestPlanFunctionalCaseService extends TestPlanResourceService { } TestPlanCaseDetailResponse response = new TestPlanCaseDetailResponse(); BeanUtils.copyBean(response, functionalCaseDetail); + response.setLastExecuteResult(planFunctionalCase.getLastExecResult()); TestPlanCaseExecuteHistoryExample testPlanCaseExecuteHistoryExample = new TestPlanCaseExecuteHistoryExample(); testPlanCaseExecuteHistoryExample.createCriteria().andCaseIdEqualTo(caseId).andTestPlanCaseIdEqualTo(id).andDeletedEqualTo(false);