renyupeng 2 년 전
부모
커밋
193e770f28
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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()