Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -211,6 +211,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu | ... | @@ -211,6 +211,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu |
| 211 | queryCountWrapper.eq(OrderDb::getEnterpriseId, request.getEnterpriseId()); | 211 | queryCountWrapper.eq(OrderDb::getEnterpriseId, request.getEnterpriseId()); |
| 212 | queryCountWrapper.eq(OrderDb::getClientId, request.getClientId()); | 212 | queryCountWrapper.eq(OrderDb::getClientId, request.getClientId()); |
| 213 | queryCountWrapper.eq(OrderDb::getStatus, status.ordinal()); | 213 | queryCountWrapper.eq(OrderDb::getStatus, status.ordinal()); |
| 214 | + queryCountWrapper.in(OrderDb::getStallId, request.getStallIdsList()); | ||
| 214 | final var count = orderDbService.count(queryCountWrapper); | 215 | final var count = orderDbService.count(queryCountWrapper); |
| 215 | if (status.equals(OrderStatusEnum.UNKNOWN_STATUS)) { | 216 | if (status.equals(OrderStatusEnum.UNKNOWN_STATUS)) { |
| 216 | unknownCount += count; | 217 | unknownCount += count; | ... | ... |
-
Please register or login to post a comment