master:档口商品分页是否标准尺码调整;
parent
1c0c9d040d
commit
6c70ee066f
|
|
@ -182,7 +182,7 @@ public class StoreProductServiceImpl implements IStoreProductService {
|
|||
List<StoreProductColorSize> prodColorSizeList = this.storeProdColorSizeMapper.selectList(new LambdaQueryWrapper<StoreProductColorSize>()
|
||||
.in(StoreProductColorSize::getStoreProdId, prodList.stream().map(StoreProdPageResDTO::getStoreProdId).collect(Collectors.toList()))
|
||||
.in(StoreProductColorSize::getStoreColorId, prodList.stream().map(StoreProdPageResDTO::getStoreColorId).collect(Collectors.toList()))
|
||||
.eq(StoreProductColorSize::getDelFlag, Constants.UNDELETED).eq(StoreProductColorSize::getStandard, 0));
|
||||
.eq(StoreProductColorSize::getDelFlag, Constants.UNDELETED).eq(StoreProductColorSize::getStandard, 1));
|
||||
// key storeProdId:storeColorId value list
|
||||
Map<String, List<StoreProductColorSize>> prodColorSizeMap = prodColorSizeList.stream().collect(Collectors
|
||||
.groupingBy(x -> x.getStoreProdId() + ":" + x.getStoreColorId()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue