修复查询问题
This commit is contained in:
@@ -81,8 +81,12 @@
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="username != null and username != ''"> and username like concat('%', #{username}, '%')</if>
|
||||
<if test="password != null and password != ''"> and password = #{password}</if>
|
||||
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
||||
<if test="nickname != null and nickname != ''"> and nickname like concat('%', #{nickname}, '%')</if>
|
||||
<if test="phone != null and phone != ''">
|
||||
or phone like concat('%', #{phone}, '%')
|
||||
</if>
|
||||
<if test="nickname != null and nickname != ''">
|
||||
or nickname like concat('%', #{nickname}, '%')
|
||||
</if>
|
||||
<if test="sex != null "> and sex = #{sex}</if>
|
||||
<if test="birthday != null "> and birthday = #{birthday}</if>
|
||||
<if test="addr != null and addr != ''"> and addr = #{addr}</if>
|
||||
|
||||
Reference in New Issue
Block a user