|
@@ -32,7 +32,7 @@
|
|
|
from produce_plan_exe_record record
|
|
|
join produce_plan_module_output output
|
|
|
on record.plan_exe_id = output.plan_exe_id and output.produce_module_type = 3
|
|
|
- where record.plan_id = #{planId} and record.status = 2 and audit_status = 1
|
|
|
+ where record.plan_id = #{planId} and record.status = 2 and audit_status in (1, 4, 5, 6)
|
|
|
</select>
|
|
|
|
|
|
<select id="getAllByProducePlanId"
|
|
@@ -80,7 +80,7 @@
|
|
|
<foreach collection="planIds" item="item" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
- and ((pper.audit_status in (1, 2) and pper.audit_timestamp between #{timeStart} and #{timeEnd})
|
|
|
+ and ((pper.audit_status in (1, 2, 4, 5, 6) and pper.audit_timestamp between #{timeStart} and #{timeEnd})
|
|
|
or (prr.review_status = 0 and pper.create_timestamp < #{timeStart} and pper.status = 6))
|
|
|
GROUP BY pper.plan_id, pper.audit_status
|
|
|
</select>
|
|
@@ -108,7 +108,7 @@
|
|
|
and record.audit_timestamp between #{startTimeStamp} and #{endTimeStamp}
|
|
|
and atom.output >= 7
|
|
|
and record.status in (2, 6, 9)
|
|
|
- and record.audit_status in (1, 3)
|
|
|
+ and record.audit_status in (1, 3, 4, 5, 6)
|
|
|
order by record.audit_timestamp desc
|
|
|
</select>
|
|
|
|
|
@@ -124,7 +124,7 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
and record.status in (2, 6, 9)
|
|
|
- and record.audit_status in (1, 3)
|
|
|
+ and record.audit_status in in (1, 3, 4, 5, 6)
|
|
|
order by record.audit_timestamp desc
|
|
|
</select>
|
|
|
|
|
@@ -277,7 +277,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getBadAccountList" resultType="com.tzld.longarticle.recommend.server.model.dto.aigc.BadCrawlerAccountDTO">
|
|
|
- select account_name, count(if(audit_status = 1, 1, null)) / count(1) as rate, count(1) as total_count
|
|
|
+ select account_name, count(if(audit_status IN (1, 4, 5, 6), 1, null)) / count(1) as rate, count(1) as total_count
|
|
|
from (
|
|
|
select audit_status,
|
|
|
e.account_name
|
|
@@ -289,7 +289,7 @@
|
|
|
<foreach collection="producePlanIds" item="item" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
- and a.audit_status in (1, 2)
|
|
|
+ and a.audit_status in (1, 2, 4, 5, 6)
|
|
|
and a.update_timestamp > unix_timestamp('2024-09-01')
|
|
|
) t1
|
|
|
group by account_name
|
|
@@ -422,7 +422,7 @@
|
|
|
left join (select audit_account, count(1) as cnt
|
|
|
from produce_plan_exe_record
|
|
|
where audit_timestamp between #{startTimeStamp} and #{endTimeStamp}
|
|
|
- and audit_status = 1
|
|
|
+ and audit_status in (1, 4, 5, 6)
|
|
|
group by audit_account) auditPass
|
|
|
on audit.audit_account = auditPass.audit_account
|
|
|
where audit.audit_account != 'wangyunpeng'
|