From d70b27e01f3d3b5675ad27662502694ebeb0d748 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Mon, 21 Aug 2023 16:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E5=8D=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/op/system/api/RemoteSapService.java | 1 + .../main/java/com/op/mes/controller/MesPrepareController.java | 2 +- .../com/op/mes/controller/ProEmbryoScrapDetailController.java | 4 ++-- op-modules/op-sap/pom.xml | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) 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系统模块