提交 9b27f1fe 作者: 薛凌堃

天眼查核心人员

上级 6f4661eb
...@@ -90,7 +90,7 @@ def doJob(): ...@@ -90,7 +90,7 @@ def doJob():
# 根据从Redis中拿到的社会信用代码,在数据库中获取对应基本信息 # 根据从Redis中拿到的社会信用代码,在数据库中获取对应基本信息
# social_code = baseCore.redicPullData('CorPersonEnterprise:gnqy_socialCode') # social_code = baseCore.redicPullData('CorPersonEnterprise:gnqy_socialCode')
# 判断 如果Redis中已经没有数据,则等待 # 判断 如果Redis中已经没有数据,则等待
social_code = '911101067916069050' social_code = '91110105318172507T'
if social_code == None: if social_code == None:
time.sleep(20) time.sleep(20)
continue continue
...@@ -145,7 +145,7 @@ def doJob(): ...@@ -145,7 +145,7 @@ def doJob():
baseCore.recordLog(social_code, taskType, state, takeTime, '', '获取天眼查id失败') baseCore.recordLog(social_code, taskType, state, takeTime, '', '获取天眼查id失败')
baseCore.rePutIntoR('CorPersonEnterpriseError:gnqy_socialCode', social_code) baseCore.rePutIntoR('CorPersonEnterpriseError:gnqy_socialCode', social_code)
continue continue
count = data[17] # count = data[17]
log.info(f"{id}---{xydm}----{tycid}----开始采集核心人员") log.info(f"{id}---{xydm}----{tycid}----开始采集核心人员")
list_one_info = [] list_one_info = []
num = 1 num = 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论