fix: 消除警告

This commit is contained in:
2026-10-23 15:32:53 +08:00
parent 3f8f066a7c
commit ee985e33a9
2 changed files with 2 additions and 2 deletions
@@ -70,7 +70,7 @@ public class FreightCostCalculator {
.toList(); .toList();
Map<Long, ProductSkuPO> skuMap = new HashMap<>(); Map<Long, ProductSkuPO> skuMap = new HashMap<>();
if (!skuIds.isEmpty()) { if (!skuIds.isEmpty()) {
for (ProductSkuPO sku : productSkuMapper.selectBatchIds(skuIds)) { for (ProductSkuPO sku : productSkuMapper.selectByIds(skuIds)) {
skuMap.put(sku.getId(), sku); skuMap.put(sku.getId(), sku);
} }
} }
@@ -263,7 +263,7 @@ public class WarehouseServiceImpl extends ServiceImpl<WarehouseMapper, Warehouse
List<Long> quoteIds = binds.stream().map(WarehouseExpressBindPO::getQuoteId).distinct().toList(); List<Long> quoteIds = binds.stream().map(WarehouseExpressBindPO::getQuoteId).distinct().toList();
Map<Long, ExpressQuotePO> quoteMap = new HashMap<>(); Map<Long, ExpressQuotePO> quoteMap = new HashMap<>();
if (!quoteIds.isEmpty()) { if (!quoteIds.isEmpty()) {
for (ExpressQuotePO q : quoteMapper.selectBatchIds(quoteIds)) { for (ExpressQuotePO q : quoteMapper.selectByIds(quoteIds)) {
quoteMap.put(q.getId(), q); quoteMap.put(q.getId(), q);
} }
} }