|
|
|
@ -264,7 +264,10 @@ public class CustomerViewService {
|
|
|
|
|
zeroExtendVO.setZeroShopCount(tmpShopCount - tmpShopIds.size());
|
|
|
|
|
tmpZeroExtendList.add(zeroExtendVO);
|
|
|
|
|
});
|
|
|
|
|
zeroExtendList = tmpZeroExtendList.stream().filter(zeroExtendDO -> zeroExtendDO.getZeroShopCount() > 0).collect(Collectors.toList());
|
|
|
|
|
zeroExtendList = tmpZeroExtendList.stream()
|
|
|
|
|
.filter(zeroExtendDO -> zeroExtendDO.getZeroShopCount() > 0)
|
|
|
|
|
.sorted(Comparator.comparing(CustomerViewZeroExtendVO::getZeroShopCount).reversed())
|
|
|
|
|
.limit(TEN).collect(Collectors.toList());
|
|
|
|
|
return zeroExtendList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|