Commit f47cf404 authored by shiyu's avatar shiyu

首页展示商品价格需大于200元

parent 79485e8f
......@@ -1141,17 +1141,17 @@ public class SupplierItemServiceImpl implements SupplierItemService {
for (CollectorWhiteList collectorWhiteList : collectorWhiteListList) {
followerIds.add(collectorWhiteList.getCollectorId());
}
List<Long> distinctCollectorIds = followerIds.stream().distinct().collect(Collectors.toList());
searchDto.setIsDeleted(false);
List<Long> distinctCollectorIds = followerIds.stream().distinct().collect(Collectors.toList());*/
if (dto.getType() == DistributionEnum.DistributionTypeEnum.FIXED_PRICE.getCode()) {
searchDto.setTypeList(Arrays.asList(DistributionEnum.DistributionTypeEnum.FIXED_PRICE.getCode(), DistributionEnum.DistributionTypeEnum.COLLECT.getCode()));
} else {
searchDto.setTypeList(Arrays.asList(DistributionEnum.DistributionTypeEnum.AUCTION.getCode()));
}*/
}
//大于200元的商品展示
searchDto.setGreaterThanPrice(20000L);
// searchDto.setCreatorIdList(distinctCollectorIds);
searchDto.setStock(0);//库存大于0
searchDto.setIsDeleted(false);
searchDto.setPage(dto.getPage());
searchDto.setLimit(dto.getLimit());
String viewKey = userId + ":homepage";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment