Procházet zdrojové kódy

素材上新逻辑修改

songyh před 4 roky
rodič
revize
f352845fc6

+ 0 - 19
jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/advertise/mapper/xml/ByteDanceVideoInfoMapper.xml

@@ -84,25 +84,6 @@
         limit #{videoCnt}
     </select>
     <select id="topMatByParams" resultType="org.jeecg.modules.bytedance.advertise.entity.ByteDanceVideoInfo">
-        /*select video.*,
-        (select count(1) from ctop_bytedance_creative c where c.video_id = video.vid and c.account_id = '${accountId}') as creativeCnt,
-        (select count(1) from ctop_bytedance_video_slogen_info s where s.video_code = video.signature) as slogens
-        from (select report.material_id, sum(cost) as totalCost, report.account_id
-        from ctop_bytedance_report_material_daily report
-        left join ctop_user_allocation cua on report.account_id = cua.account_id
-        where cua.project_id = #{projectId}
-        and report.stat_datetime &gt;= #{startTime}
-        and report.stat_datetime &lt;= #{endTime}
-        group by report.material_id
-        order by sum(report.cost) desc) a
-        left join ctop_bytedance_video_info video
-        on a.material_id = video.material_id and video.account_id = a.account_id
-        left join ctop_material_info cmi on cmi.code = video.signature
-        where video.account_id = #{accountId}
-        and cmi.id is not null
-        having creativeCnt &lt;= #{creativeCnt} and slogens >0
-        limit #{videoCnt}*/
-
         select video.*,
         a.totalCost,
         (select count(1) from ctop_bytedance_ai_video_creative_log l where l.video_code = video.signature and l.state_date = #{now}) as creativeNum,