|
|
@@ -492,12 +492,11 @@ from public_release a left join `user` b on a.uid =b.id left join admin c on a.a
|
|
|
</if>
|
|
|
<if test="type==1">
|
|
|
and c.superior_id = #{aid}
|
|
|
- and a.status=1
|
|
|
</if>
|
|
|
<if test="clockTime !=null">
|
|
|
and a.release_start < #{clockTime} and a.release_end > #{clockTime}
|
|
|
</if>
|
|
|
- order by a.status,a.create_time
|
|
|
+ ORDER BY (case when a.status=1 then 1 else 2 end),a.status ,a.create_time
|
|
|
<if test="page_sql!=null">
|
|
|
${page_sql}
|
|
|
</if>
|