bug 6726 支持模糊查询

This commit is contained in:
sxu 2025-07-08 16:39:06 +08:00
parent 968e639378
commit 51c27e0d36
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="userId != null "> and ac.user_id = #{userId}</if>
<if test="accountId != null "> and ac.account_id = #{accountId}</if>
<if test="serialNum != null and serialNum != ''"> and ac.serial_num = #{serialNum}</if>
<if test="serialNum != null and serialNum != ''"> and ac.serial_num like concat('%', #{serialNum}, '%')</if>
<if test="cardNature != null and cardNature != ''"> and ac.card_nature = #{cardNature}</if>
<if test="cardType != null "> and ac.card_type = #{cardType}</if>
<if test="deposit != null "> and ac.deposit = #{deposit}</if>