统一修改了一下分页

This commit is contained in:
yuezhihang
2021-12-14 16:07:51 +08:00
parent 6db9220082
commit 0babd2b56f
5 changed files with 8 additions and 7 deletions
@@ -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>