ck 4 سال پیش
والد
کامیت
933a0123d3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dgp/tests/get_order_hourly.py

+ 1 - 1
dgp/tests/get_order_hourly.py

@@ -31,7 +31,7 @@ from util import platform_order_api_util
 
 def start_order_job():
     start_exec_seconds = date_util.getCurrentSecondTime()
-    st_unix, et_unix = date_util.getPrevious2HourAndCurrentHourSecondTime(start_exec_seconds)
+    st_unix, et_unix = date_util.getPreviousHourAndCurrentHourSecondTime(start_exec_seconds)
 
     # st_unix = 1602313200  # 2020/10/10 15:0:0
     # et_unix = 1602316800  # 2020/10/10 16:0:0