Commit f807c108 by yancanhua

Merge branch 'v1.2.0' of https://gitee.com/foutouren/aus into v1.2.0

2 parents 74d147b4 d4ddea48
...@@ -424,9 +424,9 @@ public class AuctionOrderService extends AbstractAuctionService { ...@@ -424,9 +424,9 @@ public class AuctionOrderService extends AbstractAuctionService {
return BaseResp.success(resp); return BaseResp.success(resp);
} }
int bidResult = 0; int bidResult = 0;
if (bid.getBidPrice() >= vehicle.getReservePrice() && bid.getBidType() == 0) { if (bid.getBidPrice() >= vehicle.getReservePrice()) {
// 找到了最高价,并且最高价大于等于车辆保留价格,开始生成订单 // 找到了最高价,并且最高价大于等于车辆保留价格,开始生成订单
if (bid.getAccount().getAccountId() == account.getAccountId()) { if (bid.getAccount() != null && bid.getAccount().getAccountId() == account.getAccountId()) {
bidResult = 1; bidResult = 1;
} else { } else {
bidResult = 2; bidResult = 2;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!