|
@@ -208,6 +208,14 @@
|
|
|
#{report.play3sCount}
|
|
|
)
|
|
|
</insert>
|
|
|
+ <update id="etlKuaishouReportCompanyInfo">
|
|
|
+ update ctop_etl_kuaishou_account_material_report_daily a left join ctop_user_allocation cua on a.account_id = cua.account_id
|
|
|
+ left join user_company uc on cua.user_id = uc.user_id
|
|
|
+ set a.company_name = uc.company_name
|
|
|
+ where a.company_name is null
|
|
|
+ and uc.company_name is not null
|
|
|
+ and a.stat_date = :date
|
|
|
+ </update>
|
|
|
<select id="etlKuaishouAccountMaterialReportDailyList"
|
|
|
resultType="cn.com.ctop.kuaishou.modules.report.entity.EtlKuaishouAccountMaterialReportDaily">
|
|
|
select
|