소스 검색

修改sql报错

yumeng 4 년 전
부모
커밋
3dc2b4b3bf
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/AccountReportMapper.xml

+ 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