TASK: 裁剪;
This commit is contained in:
@@ -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("\\.");
|
||||
|
||||
Reference in New Issue
Block a user