Commit dbfcefca by dong

fix20230721

parent b95de87b
......@@ -1182,7 +1182,7 @@ def project_transition():
try:
project_obj = SikuProject.query.filter_by(id=project_id, flag=flag).first()
if not project_obj:
return jsonify(code=RET.NODATA, msg="查无此项目!")
return jsonify(code=RET.NODATA, msg="项目选择有误。(在对接库中只能转办项目进展为‘对接中’的项目;在签约库中只能转办项目进展‘已签约’的项目。)")
if flag == 2:
# 对接库 转办:把选定的项目转给其它县区,此项目的拟落地区域,变为新的县区
......@@ -1222,7 +1222,7 @@ def project_move():
if not project_obj:
return jsonify(code=RET.NODATA, msg="查无此项目!")
if project_obj.flag == flag:
return jsonify(code=RET.PARAMERR, msg="参数错误!")
return jsonify(code=RET.PARAMERR, msg="项目选择有误。(在对接库中只能流转项目进展为‘对接中’的项目;在签约库中只能流转项目进展‘已签约’的项目。)!")
project_obj.flag = flag
if flag == 3:
......
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