Forráskód Böngészése

审核列表修改

Administrator 4 éve%!(EXTRA string=óta)
szülő
commit
424acef50a

+ 1 - 2
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -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 &lt; #{clockTime} and a.release_end &gt; #{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>