소스 검색

售后单同步调整

fgd 1 년 전
부모
커밋
0b057c6493
1개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. 3 6
      sd-wln/src/main/java/com/sd/wln/controller/OrderHandleController.java

+ 3 - 6
sd-wln/src/main/java/com/sd/wln/controller/OrderHandleController.java

@@ -2,10 +2,7 @@ package com.sd.wln.controller;
 
 import com.ruoyi.common.exception.ServiceException;
 import com.sd.wln.entity.ResynchronizationDto;
-import com.sd.wln.service.OrderHandleService;
-import com.sd.wln.service.WlnReturnOrderService;
-import com.sd.wln.service.WlnSkuService;
-import com.sd.wln.service.WlnStatementOfAccount;
+import com.sd.wln.service.*;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -26,7 +23,7 @@ public class OrderHandleController {
     private WlnSkuService wlnSkuService;
 
     @Autowired
-    private WlnReturnOrderService wlnReturnOrderService;
+    private WlnSalesReturnStockInService wlnSalesReturnStockInService;
 
     /**
      * 重新同步订单
@@ -74,7 +71,7 @@ public class OrderHandleController {
      */
     @PostMapping("/resynchronizationReturnOrder")
     public void resynchronizationReturnOrder() {
-        wlnReturnOrderService.syncReturnOrder();
+        wlnSalesReturnStockInService.syncSalesReturnStockIn();
     }
 
 }