Parcourir la source

审核列表只显示待审核

Administrator il y a 4 ans
Parent
commit
d421e0dedc

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

@@ -492,6 +492,7 @@ 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}
@@ -510,6 +511,7 @@ 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}