Commit 4b3631c8 authored by fangxinjiang's avatar fangxinjiang

用户优化

parent c53d45d5
...@@ -167,6 +167,10 @@ ...@@ -167,6 +167,10 @@
<bind name="usernameLike" value="'%' + query.username + '%'" /> <bind name="usernameLike" value="'%' + query.username + '%'" />
and sys_user.username LIKE #{usernameLike} and sys_user.username LIKE #{usernameLike}
</if> </if>
<if test="query.nickname != null and query.nickname != ''">
<bind name="nicknameLike" value="'%' + query.nickname + '%'" />
and sys_user.nickname LIKE #{nicknameLike}
</if>
</where> </where>
ORDER BY sys_user.create_time DESC ORDER BY sys_user.create_time DESC
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment