diff --git a/src/main/java/com/yipin/liuwanr/controller/Project_ManagementController.java b/src/main/java/com/yipin/liuwanr/controller/Project_ManagementController.java index 5cbccf1..4ce1274 100644 --- a/src/main/java/com/yipin/liuwanr/controller/Project_ManagementController.java +++ b/src/main/java/com/yipin/liuwanr/controller/Project_ManagementController.java @@ -291,8 +291,7 @@ 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 ret = service.updateProjectManagement(pro,points,roles); int status = (int) ret.get("retcode"); if (status == 200) {