|
|
@@ -546,16 +546,19 @@ public class StatisticService {
|
|
|
map.put("notLike", "星星的孩子,测试");
|
|
|
pageQuery.setQuery(map);
|
|
|
Page<Collection> collections1 = collectionService.all(pageQuery).toPage();
|
|
|
+ collectionService.queryUserDetail(collections1.getContent());
|
|
|
//default
|
|
|
globalSearchDTO.setCollections(collections1.getContent());
|
|
|
globalSearchDTO.setCollectionsAll(collections1.getTotalElements() <= 6);
|
|
|
map.put("type", "PICTURE");
|
|
|
Page<Collection> collections2 = collectionService.all(pageQuery).toPage();
|
|
|
+ collectionService.queryUserDetail(collections2.getContent());
|
|
|
//picture
|
|
|
globalSearchDTO.setPictures(collections2.getContent());
|
|
|
globalSearchDTO.setPicturesAll(collections2.getTotalElements() <= 6);
|
|
|
map.put("type", "DOMAIN");
|
|
|
Page<Collection> collections3 = collectionService.all(pageQuery).toPage();
|
|
|
+ collectionService.queryUserDetail(collections3.getContent());
|
|
|
//domain
|
|
|
globalSearchDTO.setDomains(collections3.getContent());
|
|
|
globalSearchDTO.setDomainsAll(collections3.getTotalElements() <= 6);
|