Commit e59aae29 by 黄静

hj

parent 615bae90
...@@ -214,10 +214,12 @@ def report(BatchNo): ...@@ -214,10 +214,12 @@ def report(BatchNo):
redisPool = redis.ConnectionPool(host=FK_REDIS_HOST, port=int(FK_REDIS_PORT), password=FK_REDIS_PWD,db=FK_REDIS_DB) redisPool = redis.ConnectionPool(host=FK_REDIS_HOST, port=int(FK_REDIS_PORT), password=FK_REDIS_PWD,db=FK_REDIS_DB)
client = redis.Redis(connection_pool=redisPool) client = redis.Redis(connection_pool=redisPool)
a =client.rpop('notifyRule') a =client.rpop('notifyRule')
print(a,"=====aaaaa") if a is None:
print("消耗结束") print("notifyRule数据为空")
result = json.loads(a) quit()
print(result, "result") else:
print("消耗结束")
result = json.loads(a)
try: try:
content = result["content"] content = result["content"]
taxTypeCode = content["taxTypeCode"] # 企业性质 taxTypeCode = content["taxTypeCode"] # 企业性质
......
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