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}