diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.java index 0d5932d035..a095f81620 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.java +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.java @@ -40,11 +40,4 @@ public interface ExtTestPlanTestCaseMapper { TestPlanCaseDTO get(String testPlanTestCaseId); - /** - * 获取测试计划下的 TestPlanTestCaseID 和 TestCaseName - * @param request planId 不能为空 - * @return List - */ - List getTestPlanTestCaseList(@Param("request") QueryTestPlanCaseRequest request); - } diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml index aaf36a69b8..6bfdd21c04 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanTestCaseMapper.xml @@ -214,13 +214,6 @@ - - - select test_case.remark, test_case_review_test_case.*, test_case.*, test_case_node.name as model, project.name as projectName + select test_case_review_test_case.id as id, test_case.id as caseId, test_case.name, test_case.priority, + test_case.type, test_case.node_path, test_case.method, test_case.num, test_case_review_test_case.reviewer, + test_case.review_status, test_case_review_test_case.update_time, test_case_node.name as model, + project.name as projectName, test_case_review_test_case.review_id as reviewId from test_case_review_test_case inner join test_case on test_case_review_test_case.case_id = test_case.id left join test_case_node on test_case_node.id=test_case.node_id @@ -181,6 +184,15 @@ + +