master
shijie 4 years ago
parent 6e59d80d8e
commit f52042de81
  1. 5
      src/main/java/com/yipin/liuwanr/controller/Project_ManagementController.java

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

Loading…
Cancel
Save