Commit 076b8174 by 黄静

hj

parent d9d7af7c
...@@ -19,7 +19,11 @@ def industry_select(companyName): ...@@ -19,7 +19,11 @@ def industry_select(companyName):
cursor.execute(sql) cursor.execute(sql)
standard_order_info = cursor.fetchall() standard_order_info = cursor.fetchall()
for row in standard_order_info: for row in standard_order_info:
company_industry = row[4] company_industry = row[5]
if company_industry:
company_industry =company_industry
else:
company_industry = ''
return company_industry return company_industry
# print(industry_select('云选家网络科技(广东)有限公司')) # print(industry_select('云选家网络科技(广东)有限公司'))
# 根据公司名称获取产品标签两个。知识产权信息;3个(商标、著作权、专利);资产标签2个及分公司情况 # 根据公司名称获取产品标签两个。知识产权信息;3个(商标、著作权、专利);资产标签2个及分公司情况
......
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