|
@@ -659,6 +659,9 @@ public class SellOrderServiceImpl extends BaseServiceImpl<Integer, SellOrder> im
|
|
|
String skuIds = goodsSubService.lambdaQuery().in(GoodsSub::getGoodsId, goodies.stream().map(Goods::getId).collect(Collectors.toList())).list()
|
|
|
.stream().map(e->e.getSku().toString()).collect(Collectors.joining(","));
|
|
|
paramDto.setSkuStockIds(skuIds);
|
|
|
+ paramDto.setPageSize(1000);
|
|
|
+ paramDto.setPageNum(1);
|
|
|
+ paramDto.setJson(JSON.toJSONString(paramDto));
|
|
|
PageInfo<PmsProductDto> productList = mallFeignService.getProductList(paramDto);
|
|
|
if (org.springframework.util.CollectionUtils.isEmpty(productList.getRows())) {
|
|
|
throw new BizException("商城商品不存在");
|