按照顺序查询结果
This commit is contained in:
@@ -70,12 +70,7 @@
|
|||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test=" null != ids and ids.size()> 0">
|
ORDER BY p.id is null,p.create_time
|
||||||
order by field(INSTITUTION_ID,
|
|
||||||
<foreach item="id" collection="ids" open="" separator="," close="" index="index">
|
|
||||||
#{id}
|
|
||||||
</foreach>)
|
|
||||||
</if>
|
|
||||||
limit #{start},#{end}
|
limit #{start},#{end}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user