Showing
2 changed files
with
2 additions
and
0 deletions
| ... | @@ -192,6 +192,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu | ... | @@ -192,6 +192,7 @@ public class OrderGrpcService extends ClientCustomerOrderServiceRpcGrpc.ClientCu |
| 192 | } | 192 | } |
| 193 | queryWrapper.eq(OrderDb::getEnterpriseId, request.getEnterpriseId()); | 193 | queryWrapper.eq(OrderDb::getEnterpriseId, request.getEnterpriseId()); |
| 194 | queryWrapper.eq(OrderDb::getClientId, request.getClientId()); | 194 | queryWrapper.eq(OrderDb::getClientId, request.getClientId()); |
| 195 | + queryWrapper.in(OrderDb::getStallId, request.getStallIdsList()); | ||
| 195 | queryWrapper.eq(OrderDb::getStatus, request.getStatusValue()); | 196 | queryWrapper.eq(OrderDb::getStatus, request.getStatusValue()); |
| 196 | queryWrapper.orderByDesc(OrderDb::getCreatedAt); | 197 | queryWrapper.orderByDesc(OrderDb::getCreatedAt); |
| 197 | final var result = orderDbService.page(page, queryWrapper); | 198 | final var result = orderDbService.page(page, queryWrapper); | ... | ... |
| ... | @@ -159,6 +159,7 @@ message QueryClientCustomerOrdersByPaginationRpcRequest { | ... | @@ -159,6 +159,7 @@ message QueryClientCustomerOrdersByPaginationRpcRequest { |
| 159 | int32 enterpriseId = 4; | 159 | int32 enterpriseId = 4; |
| 160 | int32 pageNo = 5; | 160 | int32 pageNo = 5; |
| 161 | int32 pageSize = 6; | 161 | int32 pageSize = 6; |
| 162 | + repeated int32 stallIds = 7; | ||
| 162 | } | 163 | } |
| 163 | 164 | ||
| 164 | message OrderCountByStatus { | 165 | message OrderCountByStatus { | ... | ... |
-
Please register or login to post a comment