Parcourir la source

售后单同步调整

fgd il y a 1 an
Parent
commit
0b057c6493

+ 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();
     }
 
 }