diff --git a/op-api/op-api-system/src/main/java/com/op/system/api/RemoteSapService.java b/op-api/op-api-system/src/main/java/com/op/system/api/RemoteSapService.java index bfbfa88e..3e22efaf 100644 --- a/op-api/op-api-system/src/main/java/com/op/system/api/RemoteSapService.java +++ b/op-api/op-api-system/src/main/java/com/op/system/api/RemoteSapService.java @@ -24,5 +24,6 @@ public interface RemoteSapService { public R bomSync(); @PostMapping("/sap/sapProRouteProcess") public R sapProRouteProcess(); + @PostMapping("/sap/materialPreparation") public R>materialPreparation(SapMaterialPreparation sapMaterialPreparation); } diff --git a/op-modules/op-mes/src/main/java/com/op/mes/controller/MesPrepareController.java b/op-modules/op-mes/src/main/java/com/op/mes/controller/MesPrepareController.java index cb42c990..90b7477f 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/controller/MesPrepareController.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/controller/MesPrepareController.java @@ -100,7 +100,7 @@ public class MesPrepareController extends BaseController { return toAjax(mesPrepareService.deleteMesPrepareByPrepareIds(prepareIds)); } - @Log(title = "备料单", businessType = BusinessType.INSERT) + @Log(title = "备料单", businessType = BusinessType.SAP) @PostMapping("/getMesPrepare") public R getMesPrepare() { return mesPrepareService.getMesPrepare(); diff --git a/op-modules/op-mes/src/main/java/com/op/mes/controller/ProEmbryoScrapDetailController.java b/op-modules/op-mes/src/main/java/com/op/mes/controller/ProEmbryoScrapDetailController.java index 31c394ee..f873684f 100644 --- a/op-modules/op-mes/src/main/java/com/op/mes/controller/ProEmbryoScrapDetailController.java +++ b/op-modules/op-mes/src/main/java/com/op/mes/controller/ProEmbryoScrapDetailController.java @@ -23,12 +23,12 @@ import com.op.common.core.web.page.TableDataInfo; /** * 报废详情Controller - * + * * @author Open Platform * @date 2023-08-01 */ @RestController -@RequestMapping("/detail") +@RequestMapping("/scrapDetail") public class ProEmbryoScrapDetailController extends BaseController { @Autowired private IProEmbryoScrapDetailService proEmbryoScrapDetailService; diff --git a/op-modules/op-sap/pom.xml b/op-modules/op-sap/pom.xml index 4823680f..ab130cd7 100644 --- a/op-modules/op-sap/pom.xml +++ b/op-modules/op-sap/pom.xml @@ -9,10 +9,10 @@ 4.0.0 - op-modules-plan + op-modules-sap - op-modules-plan系统模块 + op-modules-sap系统模块