Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -753,7 +753,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu | ... | @@ -753,7 +753,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu |
| 753 | for (var sellQuantity : request.getSkuSellQuantitiesList()) { | 753 | for (var sellQuantity : request.getSkuSellQuantitiesList()) { |
| 754 | final var skuSellQuantity = skuSellQuantityMap.get(sellQuantity.getSkuId()); | 754 | final var skuSellQuantity = skuSellQuantityMap.get(sellQuantity.getSkuId()); |
| 755 | if (skuSellQuantity == null) { | 755 | if (skuSellQuantity == null) { |
| 756 | - throw new IllegalArgumentException("addSkusSellQuantities skuId not exists; " + sellQuantity.getSkuId()); | 756 | + continue; |
| 757 | } | 757 | } |
| 758 | final int quantity = sellQuantity.getQuantity(); | 758 | final int quantity = sellQuantity.getQuantity(); |
| 759 | if (quantity < 0) { | 759 | if (quantity < 0) { | ... | ... |
-
Please register or login to post a comment