Commit e59aae29 by 黄静

hj

parent 615bae90
......@@ -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)
client = redis.Redis(connection_pool=redisPool)
a =client.rpop('notifyRule')
print(a,"=====aaaaa")
print("消耗结束")
result = json.loads(a)
print(result, "result")
if a is None:
print("notifyRule数据为空")
quit()
else:
print("消耗结束")
result = json.loads(a)
try:
content = result["content"]
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