|
|
@@ -234,9 +234,6 @@ public class OrderService {
|
|
|
count = orderRepo.countByUserIdAndCollectionIdAndStatusIn(userId, collectionId,
|
|
|
Arrays.asList(OrderStatus.FINISH, OrderStatus.NOT_PAID, OrderStatus.PROCESSING));
|
|
|
}
|
|
|
- if (count >= collection.getMaxCount()) {
|
|
|
- throw new BusinessException("限购" + collection.getMaxCount() + "件");
|
|
|
- }
|
|
|
}
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("limit", limit);
|