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

@ -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) {

Loading…
Cancel
Save