TASK: sketches裁剪;
This commit is contained in:
@@ -288,7 +288,7 @@ public class CollectionElementServiceImpl extends ServiceImpl<CollectionElementM
|
|||||||
if (d.getLevel1Type().equals(LibraryLevel1TypeEnum.SKETCH_BOARD.getRealName())) {
|
if (d.getLevel1Type().equals(LibraryLevel1TypeEnum.SKETCH_BOARD.getRealName())) {
|
||||||
d.setLevel3Type(modelSex);
|
d.setLevel3Type(modelSex);
|
||||||
// try {
|
// try {
|
||||||
libraryService.processSketchBoards(d.getUrl(), d.getLevel2Type());
|
// libraryService.processSketchBoards(d.getUrl(), d.getLevel2Type());
|
||||||
// }catch (Exception e) {
|
// }catch (Exception e) {
|
||||||
// // TODO:暂不处理
|
// // TODO:暂不处理
|
||||||
// }
|
// }
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> impl
|
|||||||
// 新增分类过滤
|
// 新增分类过滤
|
||||||
if (CollectionUtil.isNotEmpty(query.getClassificationIdList())) {
|
if (CollectionUtil.isNotEmpty(query.getClassificationIdList())) {
|
||||||
List<Long> libraryIdList = new ArrayList<>();
|
List<Long> libraryIdList = new ArrayList<>();
|
||||||
if (query.getIntersection() == 1) {
|
if (query.getIntersection() == 0) {
|
||||||
for (Long classificationId : query.getClassificationIdList()) {
|
for (Long classificationId : query.getClassificationIdList()) {
|
||||||
libraryIdList.addAll(classificationService.getLibraryIdListByClassificationId(classificationId));
|
libraryIdList.addAll(classificationService.getLibraryIdListByClassificationId(classificationId));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user