TASK: 裁剪;

This commit is contained in:
shahaibo
2023-11-29 15:01:27 +08:00
parent 6d99a5fa16
commit 7072c8ad2a

View File

@@ -387,8 +387,9 @@ public class DesignServiceImpl extends ServiceImpl<DesignMapper, Design> impleme
.filter(o -> o.getDesignType().equals(DesignTypeEnum.LIBRARY.getRealName()))
.collect(Collectors.toList());
for (CollectionSketchDTO collectionSketchDTO : libraryList) {
CollectionSketchVO vo = CopyUtil.copyObject(collectionSketchDTO, CollectionSketchVO.class);
Library byId = libraryService.getById(collectionSketchDTO.getSketchBoardId());
libraryService.processSketchBoards(byId.getUrl(), collectionSketchDTO.getLevel2Type());
CollectionSketchVO vo = CopyUtil.copyObject(collectionSketchDTO, CollectionSketchVO.class);
String url = byId.getUrl();
if (url.contains(".")) {
String[] split = url.split("\\.");