Commit 9e5234a8 by dong

fix20230201

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