瀏覽代碼

未读修改

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(*)