|
@@ -193,6 +193,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
paramDto.setPublishStatus(1);
|
|
|
paramDto.setPageSize(1000);
|
|
|
paramDto.setPageNum(1);
|
|
|
+ paramDto.setJson(JSON.toJSONString(paramDto));
|
|
|
List<PmsProductDto> productList = mallFeignService.getProductList(paramDto).getRows();
|
|
|
if(CollectionUtils.isEmpty(productList)){
|
|
|
throw new BizException("子商品不存在");
|
|
@@ -305,6 +306,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
.productIds(String.join(",", goodIdList))
|
|
|
.pageSize(9999)
|
|
|
.pageNum(1).build();
|
|
|
+ build.setJson(JSON.toJSONString(build));
|
|
|
Map<String, PmsProductDto> map = mallFeignService.getProductList(build)
|
|
|
.getRows().stream().collect(Collectors.toMap(next -> next.getGoodsId() + "_" + next.getSkuStockId(), Function.identity()));
|
|
|
goodsSubList.forEach(next -> {
|
|
@@ -535,6 +537,12 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
return goodsList;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<Goods> importGoodsV2(MultipartFile file, Integer userId) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void repertoryWarn(Integer tenantId) {
|
|
|
//预警手机号
|
|
@@ -864,6 +872,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
.pageNum(query.getPage())
|
|
|
.pageSize(query.getRows())
|
|
|
.build();
|
|
|
+ dto.setJson(JSON.toJSONString(dto));
|
|
|
return mallFeignService.getProductList(dto);
|
|
|
}
|
|
|
|