|
@@ -423,6 +423,7 @@
|
|
|
<if test="assistType ==1">
|
|
<if test="assistType ==1">
|
|
|
and a.assist in(0,1,2)
|
|
and a.assist in(0,1,2)
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+
|
|
|
<if test="aid !=null">
|
|
<if test="aid !=null">
|
|
|
and a.aid= #{aid}
|
|
and a.aid= #{aid}
|
|
|
</if>
|
|
</if>
|
|
@@ -826,7 +827,8 @@
|
|
|
<select id="selectCountByAssistUnaudited" resultType="java.lang.Integer">
|
|
<select id="selectCountByAssistUnaudited" resultType="java.lang.Integer">
|
|
|
SELECT count(*)
|
|
SELECT count(*)
|
|
|
from public_release a left join admin_public_reviewer b on a.aid =b.aid
|
|
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.reviewer_id = #{aid}
|
|
|
|
|
|
|
+ where a.`type`=3 and a.assist =2 and a.status =1 and b.type =1
|
|
|
|
|
+ and b.reviewer_id = #{aid}
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectCountByUnaudited" resultType="java.lang.Integer">
|
|
<select id="selectCountByUnaudited" resultType="java.lang.Integer">
|
|
|
select COUNT(*)
|
|
select COUNT(*)
|
|
@@ -834,6 +836,7 @@
|
|
|
where a.public_type in (0,2)
|
|
where a.public_type in (0,2)
|
|
|
and a.assist in(0,1)
|
|
and a.assist in(0,1)
|
|
|
and a.tech_start_process in (0,2)
|
|
and a.tech_start_process in (0,2)
|
|
|
|
|
+ and a.status =1
|
|
|
and c.reviewer = #{aid}
|
|
and c.reviewer = #{aid}
|
|
|
</select>
|
|
</select>
|
|
|
<select id="selectCountByOtherUnaudited" resultType="java.lang.Integer">
|
|
<select id="selectCountByOtherUnaudited" resultType="java.lang.Integer">
|