TASK:模块化;

This commit is contained in:
shahaibo
2025-04-11 17:42:36 +08:00
parent 1403b7851a
commit 48bb0cbff5

View File

@@ -702,7 +702,8 @@ public class PortfolioServiceImpl extends ServiceImpl<PortfolioMapper, Portfolio
collectionMapper.insert(collectionOld);
Long collectionIdNew = collectionOld.getId();
Workspace workspace = workspaceService.getCurrentWorkspace();
Long workspaceServiceByProjectId = workspaceService.getByProjectId(projectId);
Workspace workspace = workspaceMapper.selectById(workspaceServiceByProjectId);
Design design = new Design();
design.setCollectionId(collectionIdNew);
design.setAccountId(authPrincipalVo.getId());