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