|
@@ -321,8 +321,8 @@
|
|
SELECT * FROM sys_user
|
|
SELECT * FROM sys_user
|
|
<trim prefix=" WHERE" suffix="" suffixOverrides="AND">
|
|
<trim prefix=" WHERE" suffix="" suffixOverrides="AND">
|
|
del_flag = '0' and user_type='02' and user_id !=1 and user_id != 2
|
|
del_flag = '0' and user_type='02' and user_id !=1 and user_id != 2
|
|
- <if test="userName != null and userName != ''"> AND user_name like concat('', #{userName}, '%')</if>
|
|
|
|
- <if test="nickName != null and nickName != ''"> AND nick_name like concat('', #{nickName}, '%')</if>
|
|
|
|
|
|
+ <if test="userName != null and userName != ''"> AND user_name like concat('%', #{userName}, '%')</if>
|
|
|
|
+ <if test="nickName != null and nickName != ''"> AND nick_name like concat('%', #{nickName}, '%')</if>
|
|
</trim>
|
|
</trim>
|
|
</select>
|
|
</select>
|
|
|
|
|