diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseMapper.xml index 657c748572..687c52ef2e 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseMapper.xml +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/BaseMapper.xml @@ -122,6 +122,13 @@ + + + + + + @@ -263,10 +270,10 @@ ${column} between #{condition.value[0]} and #{condition.value[1]} - ${column} > #{condition.value} + ${column} is not null and ${column} != '' and ${column} > #{condition.value} - ${column} < #{condition.value} + ${column} is not null and ${column} != '' and ${column} < #{condition.value} JSON_LENGTH(${column}) > #{condition.value}