瀏覽代碼

审核列表只显示待审核

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}