|
@@ -357,17 +357,17 @@
|
|
|
|
|
|
<select id="getProduceScoreGreaterThan"
|
|
|
resultType="com.tzld.longarticle.recommend.server.model.entity.aigc.ProduceTaskAtom">
|
|
|
- select atom.plan_exe_id, atom.input, atom.output, atom.create_timestamp
|
|
|
+ select atom.plan_exe_id, atom.input, atom.output, record.audit_timestamp as createTimestamp
|
|
|
from produce_task_atom atom
|
|
|
join produce_plan_module_task_exe_record exe on exe.task_exe_id = atom.task_exe_id
|
|
|
join produce_plan_exe_record record on exe.plan_exe_id = record.plan_exe_id
|
|
|
join produce_plan_module_task task on task.task_id = exe.task_id
|
|
|
where task.name in ('title 安全分', 'titile 安全分')
|
|
|
- and atom.create_timestamp between #{startTimeStamp} and #{endTimeStamp}
|
|
|
+ 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)
|
|
|
- order by create_timestamp desc
|
|
|
+ order by record.audit_timestamp desc
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|