Commit 4f1b6b45 authored by lixiaofang's avatar lixiaofang

删除1228

parent 9a99ab92
......@@ -362,16 +362,11 @@ def judge_offset_partition_have_consum(card_info=None, offset=0, partition=0):
:return:
"""
try:
if card_info['card_id'] in [719961, 718880, 717122, 720913]:
logging.info("删除重复数据:%s" % card_info['card_id'])
return False
##先判断是不是2019-12-29的
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']:
if str_data in ['20191229', '20191230', '20191228']:
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