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