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