renyupeng 2 lat temu
rodzic
commit
193e770f28
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      Apietl/ruixuan/report/LiveAccountReport.py

+ 2 - 0
Apietl/ruixuan/report/LiveAccountReport.py

@@ -149,6 +149,7 @@ class LiveAccountReport:
         where report.report_date = {start_date} and report.report_date<={end_date}
           and report.account_id = {account_id};
                         """.format(start_date=start_date, end_date=end_date, account_id=account_id)
+        print(sql)
         try:
             TidbConn.upsert(conn=self.conn, sql_buff=sql)
             self.conn.commit()
@@ -295,6 +296,7 @@ class LiveAccountReport:
         where report.report_date = {start_date} and report.report_date<={end_date}
           and report.account_id = {account_id};
                         """.format(start_date=start_date, end_date=end_date, account_id=account_id)
+        print(sql)
         try:
             TidbConn.upsert(conn=self.conn, sql_buff=sql)
             self.conn.commit()