Commit 1aee85a5 by dong

fix20230107

parent f4e0d331
...@@ -147,7 +147,7 @@ def find_up_thr1(industry_type, industry_id): ...@@ -147,7 +147,7 @@ def find_up_thr1(industry_type, industry_id):
node_one = { node_one = {
"node": "{}".format(chain_name), "node": "{}".format(chain_name),
"level": 2, "level": 2,
# "company_count": total_count, "company_count": total_count,
"subNodeList": [] "subNodeList": []
} }
# 获取二级节点 # 获取二级节点
...@@ -189,7 +189,7 @@ def find_up_thr1(industry_type, industry_id): ...@@ -189,7 +189,7 @@ def find_up_thr1(industry_type, industry_id):
} }
node_two["subNodeList"].append(node_thr) node_two["subNodeList"].append(node_thr)
node_one["subNodeList"].append(node_two) node_one["subNodeList"].append(node_two)
data["subNodeList"].append(node_one.update({"company_count": total_count})) data["subNodeList"].append(node_one)
return data return data
......
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