|
|
@@ -1968,6 +1968,11 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
if ("TRADE_SUCCESS".equals(tradeStatus)) {
|
|
|
orderDon.setStatus(goodsDon.getType() == 1 && goodsDon.getSecondType() == 2 ? OrderDon.Status.complete : OrderDon.Status.hasPayment);
|
|
|
orderDon.setTransactionId(zfbOrderDetail.getTradeNo());
|
|
|
+ Date sendPayDate = zfbOrderDetail.getSendPayDate();
|
|
|
+ orderDon.setPayTime(sendPayDate);
|
|
|
+ //买家支付宝账号
|
|
|
+ String buyerId = zfbOrderDetail.getBuyerUserId();
|
|
|
+ orderDon.setBuyerId(buyerId);
|
|
|
return updateNoPayment(orderDon, goodsDon);
|
|
|
}
|
|
|
}
|