소스 검색

Merge branch 'wyp/dailySafeScoreExport' of Server/long-article-recommend into master

wangyunpeng 10 달 전
부모
커밋
879eb0274a
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"
             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>