瀏覽代碼

长文每天新增内容安全评分导出

wangyunpeng 5 月之前
父節點
當前提交
1f33bb89c7
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      long-article-recommend-service/src/main/resources/mapper/aigc/AigcBaseMapper.xml

+ 3 - 3
long-article-recommend-service/src/main/resources/mapper/aigc/AigcBaseMapper.xml

@@ -357,17 +357,17 @@
 
 
     <select id="getProduceScoreGreaterThan"
     <select id="getProduceScoreGreaterThan"
             resultType="com.tzld.longarticle.recommend.server.model.entity.aigc.ProduceTaskAtom">
             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
         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_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_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
          join produce_plan_module_task task on task.task_id = exe.task_id
         where task.name in ('title 安全分', 'titile 安全分')
         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 atom.output >= 7
           and record.status in (2, 6, 9)
           and record.status in (2, 6, 9)
           and record.audit_status in (1, 3)
           and record.audit_status in (1, 3)
-        order by create_timestamp desc
+        order by record.audit_timestamp desc
     </select>
     </select>
 
 
 </mapper>
 </mapper>