bug 6726 支持模糊查询
This commit is contained in:
parent
968e639378
commit
51c27e0d36
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue