anderx před 1 rokem
rodič
revize
c48c74e08e

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