Commit ad2f71f0 by dong

fix20230201

parent 9e5234a8
...@@ -47,7 +47,6 @@ def upload_xiansuo_project(row_content, time_strf, upload_time, upload_unity, up ...@@ -47,7 +47,6 @@ def upload_xiansuo_project(row_content, time_strf, upload_time, upload_unity, up
investor_name = row_content[2] # 投资方名称 investor_name = row_content[2] # 投资方名称
investor_district1 = row_content[3] # 投资方所在地,sheng investor_district1 = row_content[3] # 投资方所在地,sheng
investor_district2 = row_content[4] # 投资方所在地,市 investor_district2 = row_content[4] # 投资方所在地,市
if investor_district2: if investor_district2:
if investor_district2 in ['北京市', '上海市', '天津市', '重庆市']: if investor_district2 in ['北京市', '上海市', '天津市', '重庆市']:
return jsonify(code=RET.DATAERR, msg='{} 项目,请按照表格要求填写直辖市和行政区'.format(project_name)) return jsonify(code=RET.DATAERR, msg='{} 项目,请按照表格要求填写直辖市和行政区'.format(project_name))
......
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