|
|
|
@ -123,6 +123,7 @@ public class OpenApiTradeOrderServiceImpl implements OpenApiTradeOrderService { |
|
|
|
|
tradeOrder.setRefundPrice(tradeOrder.getRefundPrice().add(orderRefund.getRefundAmount())); |
|
|
|
|
if (tradeOrder.getRefundPrice().compareTo(tradeOrder.getTradeActualAmount()) == 0) { |
|
|
|
|
tradeOrder.setRefundType(TradeOrderRefundTypeEnum.type1.getNumber()); |
|
|
|
|
tradeOrder.setStatus(TradeOrderStatusEnum.status6.getNumber()); |
|
|
|
|
} else { |
|
|
|
|
tradeOrder.setRefundType(TradeOrderRefundTypeEnum.type2.getNumber()); |
|
|
|
|
} |
|
|
|
|