|
|
@@ -133,6 +133,9 @@ public class AuctionRecordService {
|
|
|
if (auction.getPurchasePrice().compareTo(amount) >= 0) {
|
|
|
throw new BusinessException("出价低于当前竞拍价");
|
|
|
}
|
|
|
+ } else if (auction.getStartingPrice().compareTo(amount) >= 0) {
|
|
|
+
|
|
|
+ throw new BusinessException("出价低于当前起拍价");
|
|
|
}
|
|
|
if (SecurityUtils.getAuthenticatedUser().getId().equals(auction.getPurchaserId())) {
|
|
|
throw new BusinessException("请勿重复竞价");
|