소스 검색

未读修改

anderx 1 년 전
부모
커밋
c48c74e08e
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

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

@@ -827,8 +827,9 @@
     <select id="selectCountByAssistUnaudited" resultType="java.lang.Integer">
         SELECT count(*)
         from public_release a left join admin_public_reviewer b on a.aid =b.aid
-        where a.`type`=3 and a.assist =2 and a.status =1 and b.type =1
-          and b.reviewer_id = #{aid}
+            and b.type =1    and b.reviewer_id = #{aid}
+        where a.`type`=3 and a.assist =2 and a.status =1
+
     </select>
     <select id="selectCountByUnaudited" resultType="java.lang.Integer">
         select  COUNT(*)