diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/request/BaseQueryRequest.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/request/BaseQueryRequest.java index fb2ca50856..25a5ff14ee 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/request/BaseQueryRequest.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/request/BaseQueryRequest.java @@ -69,11 +69,6 @@ public class BaseQueryRequest { */ private Map combine; - /** - * 要查询的字段 - */ - private List selectFields; - /** * 版本 ID */ diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 2bad2c4812..bb3913f88a 100644 --- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -288,20 +288,13 @@ project_version.id as versionId, test_case.last_execute_result, test_case.prerequisite, test_case.steps, remark, test_case.expected_result, test_case.step_description, - - - ${field} - - - - test_case.id, test_case.node_id, test_case.node_path, test_case.project_id, test_case.`name`, - test_case.`type`, test_case.maintainer, test_case.priority, test_case.`method`, - test_case.create_time, test_case.update_time, test_case.test_id, test_case.sort, test_case.num, - test_case.review_status, test_case.tags, - test_case.demand_id, test_case.demand_name, test_case.`status`, - test_case.custom_num, test_case.step_model, test_case.create_user, - test_case.ref_id,test_case.latest - + test_case.id, test_case.node_id, test_case.node_path, test_case.project_id, test_case.`name`, + test_case.`type`, test_case.maintainer, test_case.priority, test_case.`method`, + test_case.create_time, test_case.update_time, test_case.test_id, test_case.sort, test_case.num, + test_case.review_status, test_case.tags, + test_case.demand_id, test_case.demand_name, test_case.`status`, + test_case.custom_num, test_case.step_model, test_case.create_user, + test_case.ref_id,test_case.latest from test_case left join project_version on project_version.id = test_case.version_id @@ -311,22 +304,15 @@