TASK:模块化;
This commit is contained in:
@@ -166,6 +166,8 @@ public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> impl
|
|||||||
Set<Long> collect = brandRelLibraryMapper.selectList(qw).stream().map(BrandRelLibrary::getLibraryId).collect(Collectors.toSet());
|
Set<Long> collect = brandRelLibraryMapper.selectList(qw).stream().map(BrandRelLibrary::getLibraryId).collect(Collectors.toSet());
|
||||||
if (!CollectionUtils.isEmpty(collect)) {
|
if (!CollectionUtils.isEmpty(collect)) {
|
||||||
queryWrapper.in("id", collect);
|
queryWrapper.in("id", collect);
|
||||||
|
}else {
|
||||||
|
return PageBaseResponse.success(new Page<>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user