TASK: sketchBoard裁剪;

This commit is contained in:
shahaibo
2023-11-22 16:44:28 +08:00
parent edce5f3227
commit 5213b03598

View File

@@ -287,7 +287,11 @@ public class CollectionElementServiceImpl extends ServiceImpl<CollectionElementM
List<Library> libraryList = CopyUtil.copyList(elements, Library.class, (o, d) -> {
if (d.getLevel1Type().equals(LibraryLevel1TypeEnum.SKETCH_BOARD.getRealName())) {
d.setLevel3Type(modelSex);
libraryService.processSketchBoards(d.getUrl(), d.getLevel2Type());
try {
libraryService.processSketchBoards(d.getUrl(), d.getLevel2Type());
}catch (Exception e) {
// TODO:暂不处理
}
}
d.setCreateDate(DateUtil.getByTimeZone(timeZone));
d.setName(name);