瀏覽代碼

修改sql报错

yumeng 4 年之前
父節點
當前提交
1db1cfd736

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

@@ -120,7 +120,7 @@
         FROM
         ctop_user_allocation
         WHERE
-        account_id = accountId
+        account_id = t1.account_id
         ) authName,
         stat_date statDate,
         campaign_name campaignName,
@@ -184,7 +184,7 @@
         ) conversionPrice
 
         FROM
-        ctop_kuaishou_report_daily_group
+        ctop_kuaishou_report_daily_group t1
         <where>
             <if test="date != null">
                 and stat_date = #{date}