更新 'op-modules/op-sap/src/main/java/com/op/sap/controller/SapController.java'

highway
zhaoxl 1 year ago
parent ae4d615aff
commit 0a1410bfe5

@ -11,6 +11,7 @@ import com.op.sap.service.SapBomService;
import com.op.sap.domain.SapBom;
import com.op.sap.service.SapMaterialPreparationService;
import com.op.sap.service.SapOrderService;
import com.op.sap.service.SapService;
import com.op.system.api.domain.sap.SapMaterialPreparation;
import com.op.system.api.model.SapProOrder;
import org.springframework.beans.factory.annotation.Autowired;
@ -22,6 +23,8 @@ import java.util.List;
@RequestMapping("/sap")
public class SapController extends BaseController {
@Autowired
private SapService sapService;
@Autowired
private SapOrderService sapOrderService;
@ -72,6 +75,21 @@ public class SapController extends BaseController {
return sapMaterialPreparationService.MaterialPreparation(shopOrder);
}
// @PostMapping("saveItem")
// public R<Boolean> saveItem(){
// return sapService.sapItem();
// }
// @PostMapping("saveProRoute")
// public R<Boolean> saveProRoute(){return sapService.sapProRoute();}
// @PostMapping("/sapProRouteProduct")
// public R<Boolean> sapProRouteProduct(){
// return sapService.sapProRouteProduct();
// }
@PostMapping("/sapProRouteProcess")
public R<Boolean> sapProRouteProcess() {
return sapService.sapProRouteProcess();
}
}

Loading…
Cancel
Save