This commit is contained in:
zhaokaiyao@91isoft.com
2021-10-19 17:58:11 +08:00
parent f74da3d65d
commit 740db92f90
@@ -30,8 +30,8 @@
<where> <where>
<if test="name!=null"> <if test="name!=null">
p.name like concat(concat('%',#{name}),'%') p.name like concat(concat('%',#{name}),'%')
order by locate(#{name},p.name)
</if> </if>
order by locate(#{name},p.name)
</where> </where>
<if test=" null!= pageSize "> <if test=" null!= pageSize ">
limit ${(current-1) * pageSize},${pageSize} limit ${(current-1) * pageSize},${pageSize}