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 e650684ecc..32a8963a9e 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 @@ -185,18 +185,26 @@ ( + ${mainIdColumn} - ${mainIdColumn} not in ( - select ${associationIdColumn} from ${associationTable} where - ${searchColumn} is not null and ${searchColumn} != '' - ) or + not - ${mainIdColumn} in ( - select ${associationIdColumn} from ${associationTable} where - - - - + in ( + select ${associationIdColumn} from ${associationTable} where + + + + + + + + + + + + + + ) ) @@ -274,6 +282,33 @@ + + + + + + ${column} like CONCAT('%', #{item},'%') + + + + + `value` + + + ${column} + + in + + #{v} + + + + ${column} = #{condition.value} + + + + +