소스 검색

审核列表只显示待审核

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}