提交代码

yy_dev
胡锐 1 year ago
parent 164c7cd308
commit 04859b3725
  1. 1
      service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java

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

Loading…
Cancel
Save