business/src/main/java/com/ycl/service/impl/ProjectInfoServiceImpl.java
@@ -106,6 +106,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);