Commit 518d6daf by 章家宝

fix:查询拍卖结果去掉校验

1 parent d3d9fa23
......@@ -393,19 +393,6 @@ public class AuctionOrderService extends AbstractAuctionService {
public BaseResp<AccountBidResultResp> getAccountBidResult(Integer aucvehId, Account account) {
AuctionVehicle auctionVehicle = auctionVehicleDao.findTopByAucvehId(aucvehId);
if (auctionVehicle.getAuctionState() == AuctionState.AUCTIONING) {
return BaseResp.fail("该车辆竞标中.");
}
if (auctionVehicle.getAuctionState() == AuctionState.PENDING_AUCTION
|| auctionVehicle.getAuctionState() == AuctionState.WAIT_AUCTION
|| auctionVehicle.getAuctionState() == AuctionState.PREVIEW) {
return BaseResp.fail("该车辆竞标竞价还没有开始.");
}
if (auctionVehicle.getAuctionState() == AuctionState.CANCELLED) {
return BaseResp.fail("该车辆竞标竞价已取消.");
}
Vehicle vehicle = auctionVehicle.getVehicle();
Auction auction = auctionVehicle.getAuction();
Bid bid = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!