Jelajahi Sumber

修改sql报错

yumeng 4 tahun lalu
induk
melakukan
3dc2b4b3bf

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

@@ -117,7 +117,7 @@
         end
         ) eventRegisterCost,
         account_id accountId,
-        (select auth_name from ctop_user_allocation where account_id = = t1.account_id limit 1) accountName,
+        (select auth_name from ctop_user_allocation where account_id = t1.account_id limit 1) accountName,
         sum(event_next_day_stay) eventNextDayStay,
         (case
         when sum(activation) != 0
@@ -171,7 +171,7 @@
         ) eventRegisterCost,
 
         account_id accountId,
-        (select auth_name from ctop_user_allocation where account_id = = t1.account_id limit 1) accountName
+        (select auth_name from ctop_user_allocation where account_id = t1.account_id limit 1) accountName
         from
         ctop_kuaishou_report_hourly_account t1
         where stat_date = #{date}
@@ -215,7 +215,7 @@
         end
         ) eventRegisterCost,
         account_id accountId,
-        (select auth_name from ctop_user_allocation where account_id = = t1.account_id limit 1) accountName,
+        (select auth_name from ctop_user_allocation where account_id = t1.account_id limit 1) accountName,
         sum(event_next_day_stay) eventNextDayStay,
         (case
         when sum(activation) != 0