TASK: sketches裁剪;

This commit is contained in:
shahaibo
2023-11-23 15:41:25 +08:00
parent 3e3aaa54c4
commit 1747eb3a59
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ public class CollectionElementServiceImpl extends ServiceImpl<CollectionElementM
if (d.getLevel1Type().equals(LibraryLevel1TypeEnum.SKETCH_BOARD.getRealName())) {
d.setLevel3Type(modelSex);
// try {
libraryService.processSketchBoards(d.getUrl(), d.getLevel2Type());
// libraryService.processSketchBoards(d.getUrl(), d.getLevel2Type());
// }catch (Exception e) {
// // TODO:暂不处理
// }

View File

@@ -137,7 +137,7 @@ public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> impl
// 新增分类过滤
if (CollectionUtil.isNotEmpty(query.getClassificationIdList())) {
List<Long> libraryIdList = new ArrayList<>();
if (query.getIntersection() == 1) {
if (query.getIntersection() == 0) {
for (Long classificationId : query.getClassificationIdList()) {
libraryIdList.addAll(classificationService.getLibraryIdListByClassificationId(classificationId));
}