mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:19:19 +08:00
fix: 消除警告
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ public class FreightCostCalculator {
|
||||
.toList();
|
||||
Map<Long, ProductSkuPO> skuMap = new HashMap<>();
|
||||
if (!skuIds.isEmpty()) {
|
||||
for (ProductSkuPO sku : productSkuMapper.selectBatchIds(skuIds)) {
|
||||
for (ProductSkuPO sku : productSkuMapper.selectByIds(skuIds)) {
|
||||
skuMap.put(sku.getId(), sku);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -263,7 +263,7 @@ public class WarehouseServiceImpl extends ServiceImpl<WarehouseMapper, Warehouse
|
||||
List<Long> quoteIds = binds.stream().map(WarehouseExpressBindPO::getQuoteId).distinct().toList();
|
||||
Map<Long, ExpressQuotePO> quoteMap = new HashMap<>();
|
||||
if (!quoteIds.isEmpty()) {
|
||||
for (ExpressQuotePO q : quoteMapper.selectBatchIds(quoteIds)) {
|
||||
for (ExpressQuotePO q : quoteMapper.selectByIds(quoteIds)) {
|
||||
quoteMap.put(q.getId(), q);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user