From d5fea3c5cae9edc89aff7f4f10d63589b1be68a3 Mon Sep 17 00:00:00 2001 From: Comair <1464848666@qq.com> Date: Tue, 23 Jul 2024 08:12:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86=E4=B8=AD?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E7=9A=84=E6=95=B0=E6=8D=AE=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?Bool-=E3=80=8BBoolean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/shkj/wms/controller/busin/TaskController.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/shkj-wms/src/main/java/com/shkj/wms/controller/busin/TaskController.java b/shkj-wms/src/main/java/com/shkj/wms/controller/busin/TaskController.java index 4ab0bb8..fb0fc3d 100644 --- a/shkj-wms/src/main/java/com/shkj/wms/controller/busin/TaskController.java +++ b/shkj-wms/src/main/java/com/shkj/wms/controller/busin/TaskController.java @@ -9,7 +9,6 @@ import com.shkj.wms.plc.PlcEventTask; import com.shkj.wms.plc.PlcEventTmpTask; import com.shkj.wms.scheduled.ScheduledTasks; import com.shkj.wms.service.IBusinEnptyContainerService; -import com.sun.org.apache.xpath.internal.operations.Bool; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; @@ -39,7 +38,7 @@ public class TaskController extends BaseController { @Log(title = "手动调度任务流程",businessType = BusinessType.UPDATE) @PostMapping("/exeTask") @RepeatSubmit - public Result exeTask(){ + public Result exeTask(){ scheduledTasks.task(); return Result.ok(); } @@ -50,7 +49,7 @@ public class TaskController extends BaseController { @Log(title = "执行PLC相关任务",businessType = BusinessType.UPDATE) @PostMapping("/exePlcTmpTask") @RepeatSubmit - public Result exePlcTmpTask(){ + public Result exePlcTmpTask(){ plcEventTmpTask.init(); return Result.ok(); } @@ -61,7 +60,7 @@ public class TaskController extends BaseController { @Log(title = "执行PLC相关任务",businessType = BusinessType.UPDATE) @PostMapping("/exePlcTask") @RepeatSubmit - public Result exePlcTask(){ + public Result exePlcTask(){ plcEventTask.init(); return Result.ok(); } @@ -72,7 +71,7 @@ public class TaskController extends BaseController { @Log(title = "空治具出库流程",businessType = BusinessType.UPDATE) @PostMapping("/exeEmptyContainerFromWare") @RepeatSubmit - public Result exeEmptyContainerFromWare(){ + public Result exeEmptyContainerFromWare(){ iBusinEnptyContainerService.emptyContainerFromWare(); return Result.ok(); } @@ -83,7 +82,7 @@ public class TaskController extends BaseController { @Log(title = "空治具出库流程",businessType = BusinessType.UPDATE) @PostMapping("/intask") @RepeatSubmit - public Result intask(Long taskId,Long containerId){ + public Result intask(Long taskId,Long containerId){ scheduledTasks.inTask(taskId,containerId); return Result.ok(); }