Commit e8714d49 authored by lixiaofang's avatar lixiaofang

add

parent 4f1b6b45
......@@ -366,7 +366,7 @@ def judge_offset_partition_have_consum(card_info=None, offset=0, partition=0):
create_time = card_info['create_time']
datetime_create_time = datetime.datetime.strptime(create_time, '%Y-%m-%d %H:%M:%S')
str_data = str(datetime_create_time.year) + str(datetime_create_time.month) + str(datetime_create_time.day)
if str_data in ['20191229', '20191230', '20191228']:
if str_data in ['20191229', '20191230', '20191228', '20191227']:
return False
redis_list_data = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment