Commit 204da432 by “zcwang”

Merge remote-tracking branch 'origin/hotfix-20230106-product' into hotfix-20230106-product

parents b1fa65e2 b6f3f860
Pipeline #44569 passed with stages
in 1 minute 42 seconds
......@@ -47,6 +47,12 @@ public class SupplierItemServiceImpl implements ISupplierItemService {
}
fullItemIds.removeAll(itemIds);
}
List<Long> itemIds = new ArrayList<>(fullItemIds);
AjaxResult<List<SpuTO>> listAjaxResult = itemRpcService.batchQuerySpuInfo(BatchQuerySpuInfoParam.builder().ids(itemIds).build());
List<SpuTO> pageSpuTo = listAjaxResult.getData();
if (!CollectionUtils.isEmpty(pageSpuTo)) {
spuTOList.addAll(pageSpuTo);
}
}
if (StringUtils.isNotBlank(itemId)) {
spuTOList = spuTOList.stream().filter(i -> Long.valueOf(itemId).equals(i.getId())).collect(Collectors.toList());
......
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