diff --git a/aucma-base/src/main/resources/mapper/base/BaseCustomDataMapper.xml b/aucma-base/src/main/resources/mapper/base/BaseCustomDataMapper.xml index 7a5a74d..44fb5fc 100644 --- a/aucma-base/src/main/resources/mapper/base/BaseCustomDataMapper.xml +++ b/aucma-base/src/main/resources/mapper/base/BaseCustomDataMapper.xml @@ -39,8 +39,10 @@ and custom_type = #{customType} - and custom_function = #{customFunction} - and custom_code = #{customCode} + and custom_function like concat(concat('%', + #{customFunction}), '%') + and custom_code like concat(concat('%', + #{customCode}), '%') and custom_data = #{customData} and custom_sort = #{customSort} and is_flag = #{isFlag}