mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
fix queryTagMarketPage when tagObject is unused (#932)
This commit is contained in:
@@ -161,6 +161,9 @@ public class TagMetaServiceImpl implements TagMetaService {
|
||||
.filter(modelResp -> tagMarketPageReq.getTagObjectId().equals(modelResp.getTagObjectId()))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
if (CollectionUtils.isEmpty(modelRespList)) {
|
||||
return new PageInfo<TagResp>();
|
||||
}
|
||||
List<Long> modelIds = modelRespList.stream().map(model -> model.getId()).collect(Collectors.toList());
|
||||
|
||||
TagFilter tagFilter = new TagFilter();
|
||||
|
||||
Reference in New Issue
Block a user