yumeng 2 年之前
父節點
當前提交
cfe4aeee9d

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

@@ -16,16 +16,16 @@
                 FROM
                     (
                         SELECT
-                            stat_date as date,
+                            date_time as date,
                             account_id AS accountId,
                             total_charged_in_yuan as dailyCharge,
                             contract_rebate_real_charged_in_yuan as contractRebateRealCharged,
                             direct_rebate_real_charged_in_yuan as directRebateRealCharged,
                             ( real_charged_in_yuan + total_rebate_real_charged_in_yuan + credit_real_charged_in_yuan ) realCharged,
                             account_name AS accountName,
-                            kuaishou_id AS ksId
+                            user_id AS ksId
                         FROM
-                            `application`.app_kuaishou_agent_report_d
+                            `jeecg-boot`.ctop_kuaishou_daily_agent
                         WHERE
                             total_charged_in_yuan >0
                           and account_id = #{accountId}