...
|
...
|
@@ -184,8 +184,10 @@ public class BuyerBidPublishService { |
|
|
processAfterBidPublish(uid, bidPublishResult);
|
|
|
|
|
|
// 返回结果
|
|
|
return BidPublishResponse.builder().skup(bidPublishResult.getSkup()).orderCode(bidPublishResult.getOrderCode())
|
|
|
return BidPublishResponse.builder().skup(bidPublishResult.getSkup())
|
|
|
.orderCode(bidPublishResult.getOrderCode())
|
|
|
.paymentStatus(OrderConstant.N_STR)
|
|
|
.depositAmount(MathUtils.formatStr(bidPublishResult.getDepositAmount()))
|
|
|
.build();
|
|
|
}
|
|
|
|
...
|
...
|
@@ -288,7 +290,7 @@ public class BuyerBidPublishService { |
|
|
|
|
|
BidPublishResult publishResult = BidPublishResult.builder().skup(skup).orderCode(orderCode)
|
|
|
.publishTime(submitResult.getSubmitTime())
|
|
|
.orderAmount(orderBuilder.getAmount())
|
|
|
.depositAmount(deposit.getAmount())
|
|
|
.build();
|
|
|
|
|
|
logger.info("[{}] bid publish success,result:{}", uid, publishResult);
|
...
|
...
|
@@ -350,7 +352,7 @@ public class BuyerBidPublishService { |
|
|
BuyerOrder buyerOrder = new BuyerOrder();
|
|
|
buyerOrder.setUid(uid);
|
|
|
buyerOrder.setOrderCode(bidPublishResult.getOrderCode());
|
|
|
buyerOrder.setAmount(bidPublishResult.getOrderAmount());
|
|
|
buyerOrder.setAmount(BigDecimal.valueOf(bidPublishResult.getDepositAmount()));
|
|
|
buyerOrder.setCreateTime(bidPublishResult.getPublishTime());
|
|
|
orderChangeListenerContainer.fireAsyncEvent(new BuyerOrderChangeEvent(buyerOrder, BuyerOrderChangeEvent.BizCase.CREATE, OrderStatus.WAITING_PAY_DEPOSIT));
|
|
|
}
|
...
|
...
|
|