| | |
| | | //添加基本信息 |
| | | ProjectInfo entity = ProjectInfoForm.getEntityByForm(form, null); |
| | | Long userId = SecurityUtils.getUserId(); |
| | | Long deptId = SecurityUtils.getDeptId(); |
| | | entity.setProjectOwnerUnit(deptId); |
| | | // Long deptId = SecurityUtils.getDeptId(); |
| | | // entity.setProjectOwnerUnit(deptId); |
| | | entity.setCreateBy(userId); |
| | | entity.setUpdateBy(userId); |
| | | //如果是储备项目(未开工项目)不需要审核 |
| | |
| | | } |
| | | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public Result editProject(ProjectForm form) { |
| | | if (ObjectUtil.isNotNull(form.getProjectInfoForm())) { |
| | | if (ObjectUtil.isNull(form.getProjectInfoForm().getId())) { |