|
@@ -6,6 +6,7 @@
|
|
# @Software: PyCharm
|
|
# @Software: PyCharm
|
|
# @contact: renyupeng@c-top.com.cn
|
|
# @contact: renyupeng@c-top.com.cn
|
|
# @Tel 1501435553
|
|
# @Tel 1501435553
|
|
|
|
+import datetime
|
|
import logging
|
|
import logging
|
|
from math import ceil
|
|
from math import ceil
|
|
|
|
|
|
@@ -18,7 +19,8 @@ class AdvertiserSumDailyReport:
|
|
def __init__(self):
|
|
def __init__(self):
|
|
self.conn = TidbConn.get_connection()
|
|
self.conn = TidbConn.get_connection()
|
|
self.parm = Utils.get_args()
|
|
self.parm = Utils.get_args()
|
|
- self.start_time = self.parm[0]
|
|
|
|
|
|
+ self.start_time = (datetime.date.today() + datetime.timedelta(0)).strftime("%Y%m%d")
|
|
|
|
+
|
|
|
|
|
|
def daily_report(self):
|
|
def daily_report(self):
|
|
try:
|
|
try:
|