|
|
|
@ -292,7 +292,6 @@ public class Project_ManagementController { |
|
|
|
|
return resp; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 修改项目管理信息 |
|
|
|
|
* @param vo |
|
|
|
@ -314,11 +313,15 @@ public class Project_ManagementController { |
|
|
|
|
resp.setMessage("pooints cannot be empty"); |
|
|
|
|
return resp; |
|
|
|
|
} |
|
|
|
|
if(roles.isEmpty()||roles.size()<=0) { |
|
|
|
|
resp.setStatus(300); |
|
|
|
|
resp.setMessage("roleId cannot be empty"); |
|
|
|
|
return resp; |
|
|
|
|
|
|
|
|
|
if (pro.getIsstartexperimental()==0){//开启实验数据
|
|
|
|
|
if(roles.isEmpty()||roles.size()<=0) { |
|
|
|
|
resp.setStatus(300); |
|
|
|
|
resp.setMessage("roleId cannot be empty"); |
|
|
|
|
return resp; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
HashMap<String, Object> ret = service.updateProjectManagement(pro,points,roles); |
|
|
|
|
int status = (int) ret.get("retcode"); |
|
|
|
|
if (status == 200) { |
|
|
|
|