@@ -156,7 +156,11 @@
<if test="roleType==3">
and a.accept_amb_id = #{ambId}
</if>
- order by a.create_time desc
+ order by
+ <if test="roleType==0 or roleType==1">
+ a.status ,
+ </if>
+ a.create_time desc
<if test="page_sql !=null">
${page_sql}