diff --git a/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java b/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java index 4ee3d1e..2408049 100644 --- a/service/src/main/java/com/hfkj/openapi/v1/service/impl/OpenApiTradeOrderServiceImpl.java +++ b/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())); if (tradeOrder.getRefundPrice().compareTo(tradeOrder.getTradeActualAmount()) == 0) { tradeOrder.setRefundType(TradeOrderRefundTypeEnum.type1.getNumber()); + tradeOrder.setStatus(TradeOrderStatusEnum.status6.getNumber()); } else { tradeOrder.setRefundType(TradeOrderRefundTypeEnum.type2.getNumber()); }