|
|
@@ -384,14 +384,8 @@
|
|
|
</if>
|
|
|
where 1=1
|
|
|
<include refid="listPublicReleaseSql"/>
|
|
|
- <if test="type==2 or type==4">
|
|
|
- ORDER BY a.create_time desc
|
|
|
- </if>
|
|
|
- <if test="type==0 or type==1 or type==3">
|
|
|
- ORDER BY (case when a.status=1 then 1 when a.status=2 then 2 when a.status=3 then 5
|
|
|
- when a.status=0 then 3 when a.status=4 then 4
|
|
|
- else 0 end),a.create_time desc
|
|
|
- </if>
|
|
|
+ ORDER BY (case when a.status=1 then 1 when a.status=2 then 2 when a.status=3 then 5
|
|
|
+ when a.status=0 then 3 when a.status=4 then 4 else 0 end),a.create_time desc
|
|
|
<if test="page_sql!=null">
|
|
|
${page_sql}
|
|
|
</if>
|