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(); }