diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml index b995da123e..489c5088b6 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml @@ -196,33 +196,51 @@ - + + and functional_case.review_status in - + + and functional_case.last_execute_result in + and functional_case.version_id in + and functional_case.id in ( - select resource_id from custom_field_test_case where concat('custom_single-',field_id) = + select field_id from functional_case_custom_field where concat('custom_single-',field_id) = #{key} and trim(both '"' from `value`) in ) + and functional_case.id in ( - select resource_id from custom_field_test_case where concat('custom_multiple-',field_id) = + select field_id from functional_case_custom_field where concat('custom_multiple-',field_id) = #{key} and JSON_CONTAINS(`value`, json_array(#{value})) - + + + and functional_case.id in ( + select case_id from functional_case_custom_field where `value` in + + ) + + + + and functional_case.update_user in + + + + and functional_case.create_user in diff --git a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue index 278202e538..df0f2ea8cf 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/caseTable.vue @@ -93,7 +93,7 @@