From 51c27e0d36f47f6aeef7adc8f1c9874e6cca519f Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Tue, 8 Jul 2025 16:39:06 +0800 Subject: [PATCH] =?UTF-8?q?bug=206726=20=E6=94=AF=E6=8C=81=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=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/account/AccCardMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccCardMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccCardMapper.xml index 9678d05..7635c05 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccCardMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccCardMapper.xml @@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and ac.user_id = #{userId} and ac.account_id = #{accountId} - and ac.serial_num = #{serialNum} + and ac.serial_num like concat('%', #{serialNum}, '%') and ac.card_nature = #{cardNature} and ac.card_type = #{cardType} and ac.deposit = #{deposit}