diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
index f5a09e4567..22a4d71d62 100644
--- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
+++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml
@@ -307,7 +307,7 @@
or test_case.tags like CONCAT('%', #{request.name},'%'))
- AND test_case.create_time >= #{request.createTime}
+ and test_case.id in (select test_case_id from test_case_test where test_case_test.create_time >= #{request.createTime})
and test_case.node_id in
@@ -320,10 +320,10 @@
- and test_case.test_id is null and test_case.type != 'functional'
+ and test_case.id not in (select distinct test_case_test.test_case_id from test_case_test)
- and test_case.test_id is not null and test_case.type != 'functional'
+ and test_case.id in (select distinct test_case_test.test_case_id from test_case_test)
diff --git a/frontend/src/business/components/track/home/TrackHome.vue b/frontend/src/business/components/track/home/TrackHome.vue
index 798c94966c..a978df9cea 100644
--- a/frontend/src/business/components/track/home/TrackHome.vue
+++ b/frontend/src/business/components/track/home/TrackHome.vue
@@ -188,7 +188,7 @@ export default {
},
redirectPage(page,dataType,selectType){
//test_plan 页面跳转
- this.$router.push('/track/plan/view/'+selectType);
+ // this.$router.push('/track/plan/view/'+selectType);
switch (page){
case "case":
this.$router.push({name:'testCase',params:{dataType:dataType,dataSelectRange:selectType, projectId: getCurrentProjectID()}});