From e544e2ab11fc60841720d9a5aa2ca931035ee7a2 Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 13 Mar 2024 09:53:43 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/base/BaseCustomDataMapper.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}