yumeng 2 лет назад
Родитель
Сommit
6d67338fb5

+ 4 - 3
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/mapper/xml/IntranetSettlementMapper.xml

@@ -44,7 +44,7 @@
                 FROM
                     (
                         SELECT
-                            advertiser_id AS accountIdF,
+                            account_id AS accountIdF,
                             daily_charge as flowDailyCharge,
                             date,
                             daily_transfer_in as dailyTransferIn,
@@ -54,9 +54,9 @@
                             contract_rebate_real_recharged as contractRebateRealRecharged,
                             direct_rebate_real_recharged as directRebateRealRecharged
                         FROM
-                            media_api.kuaishou_advertiser_fund_daily_flows
+                            `jeecg-boot`.ctop_kuaishou_daily_flows
                         WHERE
-                            advertiser_id = #{accountId}
+                            account_id = #{accountId}
                     ) t
                         LEFT JOIN `jeecg-boot`.ctop_user_allocation c ON t.accountIdF = c.account_id
                         LEFT JOIN `jeecg-boot`.ctop_kuaishou_advertiser_base_info base ON base.account_id = t.accountIdF
@@ -73,3 +73,4 @@
 
 
 </mapper>
+