统一修改了一下分页
This commit is contained in:
@@ -799,10 +799,11 @@
|
||||
from ts_user
|
||||
where 1=1
|
||||
<if test="name != null and name != '' ">
|
||||
ts_user.UNAME like concat(concat('%',#{name}),'%') or
|
||||
and ts_user.UNAME like concat(concat('%',#{name}),'%') or
|
||||
ts_user.USID like concat(concat('%',#{name}),'%')
|
||||
</if>
|
||||
limit ${(page-1)*20},${page*20}
|
||||
ORDER BY ts_user.USID
|
||||
limit ${(page-1)*20},${20}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user