Commit 16644dfc by 章家宝

feat:轮询出价模式新增车辆判断

1 parent f4d7a21f
......@@ -311,7 +311,7 @@ public class AuctionService extends AbstractAuctionService {
}
}
auctionVehicleDao.save(av);
if (auction.getAuctionType() == AuctionType.LIGHT && auction.getAuctionMode() == 2) {
if (auction.getAuctionType() == AuctionType.LIGHT && auction.getAuctionMode() == 2 && auction.getAuctionState() == Auction.AuctionState.AUCTIONING) {
lightAuctionPoollingBidService.addVehicle(av, auction);
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!