From 9cae849e7c12b9e814b601e6df41078d48a60daf Mon Sep 17 00:00:00 2001 From: liuxy Date: Tue, 3 Dec 2024 14:04:26 +0800 Subject: [PATCH] =?UTF-8?q?rev=EF=BC=9A=E6=9F=A5=E8=AF=A2=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/ext/mes/controller/MesToWmsController.java | 4 ++-- .../main/java/org/nl/wms/ext/mes/service/MesToWmsService.java | 2 +- .../org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java index 900c57a..90ed5de 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/controller/MesToWmsController.java @@ -45,8 +45,8 @@ public class MesToWmsController { @PostMapping("/SearchTasks") @Log("mes查看任务") @SaIgnore - public ResponseEntity searchTasks(@RequestBody JSONObject jo) { - return new ResponseEntity<>(mesToWmsService.SearchTasks(jo), HttpStatus.OK); + public ResponseEntity searchTasks() { + return new ResponseEntity<>(mesToWmsService.SearchTasks(), HttpStatus.OK); } @PostMapping("/DeleteTask") diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/MesToWmsService.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/MesToWmsService.java index 4c9912c..c508736 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/MesToWmsService.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/MesToWmsService.java @@ -56,7 +56,7 @@ public interface MesToWmsService { * ] * } */ - JSONObject SearchTasks(JSONObject jo); + JSONObject SearchTasks(); /** * mes删除任务 diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java index 860ad48..6a1616b 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/ext/mes/service/impl/MesToWmsServiceImpl.java @@ -163,8 +163,8 @@ public class MesToWmsServiceImpl implements MesToWmsService { } @Override - public JSONObject SearchTasks(JSONObject jo) { - log.info("mes接口SearchTasks查看任务输入参数:"+jo.toString()); + public JSONObject SearchTasks() { + log.info("mes接口SearchTasks查看任务输入参数:"); JSONObject result = new JSONObject(); // 查询所有任务