business/src/main/java/com/ycl/service/impl/ProjectInfoServiceImpl.java
@@ -103,6 +103,8 @@ //添加基本信息 ProjectInfo entity = ProjectInfoForm.getEntityByForm(form, null); Long userId = SecurityUtils.getUserId(); Long deptId = SecurityUtils.getDeptId(); entity.setProjectOwnerUnit(deptId); entity.setCreateBy(userId); entity.setUpdateBy(userId); baseMapper.insert(entity);