ソースを参照

审核列表只显示待审核

Administrator 4 年 前
コミット
d421e0dedc
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

+ 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}