瀏覽代碼

添加更新时间

zhaoxian 4 年之前
父節點
當前提交
48c032003f

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/EtlKuaiShouGroupDailyReportMapper.xml

@@ -82,7 +82,7 @@
         FROM ctop_etl_kuaishou_group_daily_report t1
         LEFT JOIN (
         SELECT charge,unit_id FROM ctop_etl_kuaishou_group_daily_report
-        WHERE account_id = 1
+        WHERE account_id = #{accountId}
         AND stat_date = DATE_FORMAT(date_sub(now(), interval 1 day), '%Y-%m-%d')
         ) t2 ON t1.unit_id = t2.unit_id
         WHERE account_id = #{accountId}