|
|
@@ -727,6 +727,9 @@ public class OrderPayService {
|
|
|
if (order.getPrice().compareTo(tradeAuction.getNextPrice()) != 0) {
|
|
|
throw new BusinessException("已经失去购买资格");
|
|
|
}
|
|
|
+ if (tradeAuction.getSale() >= 30) {
|
|
|
+ throw new BusinessException("已无购买资格");
|
|
|
+ }
|
|
|
}
|
|
|
checkTradeCode(userId, tradeCode, order.getUserId());
|
|
|
BigDecimal amount;
|