瀏覽代碼

源生成计划名称匹配增加已发布条件

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

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

@@ -105,6 +105,7 @@
                record.plan_id as producePlanId
         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
+        join publish_content pc on pc.source_id = record.plan_exe_id and pc.status = 2
         where output.output in
         <foreach collection="titleList" item="item" open="(" close=")" separator=",">
             #{item}