| | |
| | | @Override |
| | | public int deleteProjectManagementByIds(Long[] ids) { |
| | | // 校验 |
| | | for (Long id : ids) { |
| | | checkDataPer(id); |
| | | // for (Long id : ids) { |
| | | // checkDataPer(id); |
| | | // } |
| | | if (!SecurityUtils.isAdmin(SecurityUtils.getUserId()) ){ |
| | | throw new ServiceException("无权操作!"); |
| | | } |
| | | return projectManagementMapper.deleteProjectManagementByIds(ids); |
| | | } |
| | |
| | | projectManagementUp.setId(req.getId()); |
| | | projectManagementUp.setState(4L); |
| | | projectManagementUp.setStep(4L); |
| | | projectManagementUp.setDesc(req.getDesc()); |
| | | // projectManagementUp.setDesc(req.getDesc()); |
| | | projectManagementUp.setProjectEndTime(req.getProjectEndTime()); |
| | | projectManagementUp.setUpdateBy(SecurityUtils.getUsername()); |
| | | int i = projectManagementMapper.updateProjectManagement(projectManagementUp); |
| | |
| | | projectDetailResp.setDeptId(projectManagement.getDeptId()); |
| | | projectDetailResp.setDeptName(projectDetailResp.getDeptName()); |
| | | projectDetailResp.setProjectName(projectManagement.getProjectName()); |
| | | projectDetailResp.setProjectDateStart(projectManagement.getProjectDateStart()); |
| | | projectDetailResp.setProjectDateEnd(projectManagement.getProjectDateEnd()); |
| | | SysExpertInfo sysExpertInfo = sysExpertInfoMapper.selectById(projectDetailResp.getExpertId()); |
| | | if (sysExpertInfo != null){ |
| | | projectDetailResp.setTitle(sysExpertInfo.getTitle()); |
| | | projectDetailResp.setJob(sysExpertInfo.getJob()); |
| | | |
| | | } |
| | | } |
| | | return projectDetailResp; |
| | |
| | | } |
| | | return projectManagement; |
| | | } |
| | | |
| | | } |