Commit 46e57b24 authored by shiyu's avatar shiyu

刷新价格,检查是否足够保证金

parent ffb74ca6
...@@ -99,5 +99,8 @@ public class AuctionRecordVo implements Entity { ...@@ -99,5 +99,8 @@ public class AuctionRecordVo implements Entity {
private String userStateName; private String userStateName;
/**
* 是否足够保证金
*/
private Boolean enoughEarnest = true;
} }
...@@ -332,9 +332,8 @@ public class AuctionRecordServiceImpl implements AuctionRecordService { ...@@ -332,9 +332,8 @@ public class AuctionRecordServiceImpl implements AuctionRecordService {
earnestRecordRequestDto.setAuctionPrice(PriceUtil.convertPriceFromStr(auctionRecordVo.getNextPrice())); earnestRecordRequestDto.setAuctionPrice(PriceUtil.convertPriceFromStr(auctionRecordVo.getNextPrice()));
Result checkEnoughEarnestResult = auctionEarnestService.checkEnoughEarnest(earnestRecordRequestDto); Result checkEnoughEarnestResult = auctionEarnestService.checkEnoughEarnest(earnestRecordRequestDto);
if (!checkEnoughEarnestResult.getSuccess()) { if (!checkEnoughEarnestResult.getSuccess()) {
return checkEnoughEarnestResult; auctionRecordVo.setEnoughEarnest(false);
} }
auctionRecordVo.setStartPrice(PriceUtil.convertPriceFenToYuan(auctionConfig.getStartPrice())); auctionRecordVo.setStartPrice(PriceUtil.convertPriceFenToYuan(auctionConfig.getStartPrice()));
Date startTime = auctionConfig.getStartTime(); Date startTime = auctionConfig.getStartTime();
Date realEndTime = auctionConfig.getRealEndTime(); Date realEndTime = auctionConfig.getRealEndTime();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment