This commit is contained in:
hanjian
2024-09-04 22:15:51 +08:00
parent aa5178ac92
commit c57babe9ce
4 changed files with 13 additions and 2 deletions

View File

@@ -66,6 +66,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="userName != null and userName != ''">
AND u.user_name like concat('%', #{userName}, '%')
</if>
<if test="nickName != null and nickName != ''">
AND u.nick_name like concat('%', #{nickName}, '%')
</if>
<if test="status != null and status != ''">
AND u.status = #{status}
</if>