Showing
1 changed file
with
4 additions
and
0 deletions
@@ -26,6 +26,7 @@ import com.yohoufo.order.model.request.PaymentRequest; | @@ -26,6 +26,7 @@ import com.yohoufo.order.model.request.PaymentRequest; | ||
26 | import com.yohoufo.order.model.request.TranseferCellNode; | 26 | import com.yohoufo.order.model.request.TranseferCellNode; |
27 | import com.yohoufo.order.model.request.TransferMoneyRequest; | 27 | import com.yohoufo.order.model.request.TransferMoneyRequest; |
28 | import com.yohoufo.order.service.AbstractBuyerOrderStateChanger; | 28 | import com.yohoufo.order.service.AbstractBuyerOrderStateChanger; |
29 | +import com.yohoufo.order.service.IPaymentService; | ||
29 | import com.yohoufo.order.service.handler.RefundEarnestMoneyHandler; | 30 | import com.yohoufo.order.service.handler.RefundEarnestMoneyHandler; |
30 | import com.yohoufo.order.service.impl.PayRefundService; | 31 | import com.yohoufo.order.service.impl.PayRefundService; |
31 | import com.yohoufo.order.service.impl.TransferService; | 32 | import com.yohoufo.order.service.impl.TransferService; |
@@ -62,6 +63,9 @@ public class BuyerOrderWaitingPayCancelChanger extends AbstractBuyerOrderStateCh | @@ -62,6 +63,9 @@ public class BuyerOrderWaitingPayCancelChanger extends AbstractBuyerOrderStateCh | ||
62 | @Autowired | 63 | @Autowired |
63 | private PayRefundService payRefundService; | 64 | private PayRefundService payRefundService; |
64 | 65 | ||
66 | + @Autowired | ||
67 | + private IPaymentService paymentService; | ||
68 | + | ||
65 | @Override | 69 | @Override |
66 | protected boolean beforeChange(RequestedCancelEventStatusChangeBuyerOrder statusChangeBuyerOrder) { | 70 | protected boolean beforeChange(RequestedCancelEventStatusChangeBuyerOrder statusChangeBuyerOrder) { |
67 | BuyerOrder buyerOrder = statusChangeBuyerOrder.getBuyerOrder(); | 71 | BuyerOrder buyerOrder = statusChangeBuyerOrder.getBuyerOrder(); |
-
Please register or login to post a comment