Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhuyifan
2025-03-06 13:58:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
284e62d1d211450dd4e454a756afafffa66166e6
284e62d1
1 parent
9c37afe8
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/tianting/infoloop/service/grpc/OrderGrpcService.java
src/main/java/com/tianting/infoloop/service/grpc/OrderGrpcService.java
View file @
284e62d
...
...
@@ -753,7 +753,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu
for
(
var
sellQuantity
:
request
.
getSkuSellQuantitiesList
())
{
final
var
skuSellQuantity
=
skuSellQuantityMap
.
get
(
sellQuantity
.
getSkuId
());
if
(
skuSellQuantity
==
null
)
{
throw
new
IllegalArgumentException
(
"addSkusSellQuantities skuId not exists; "
+
sellQuantity
.
getSkuId
())
;
continue
;
}
final
int
quantity
=
sellQuantity
.
getQuantity
();
if
(
quantity
<
0
)
{
...
...
Please
register
or
login
to post a comment