commit
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user