From a7c479daff0e44988f174f8c93fb41f30fdc48e1 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期一, 17 三月 2025 16:53:19 +0800 Subject: [PATCH] 大屏添加历史任务按钮 --- hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java b/hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java index 5742e75..e52515e 100644 --- a/hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java +++ b/hangzhoumesParent/moduleService/hollowGlassModule/src/main/java/com/mes/hollow/controller/HollowBigStorageCageDetailsController.java @@ -8,10 +8,7 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import java.util.List; @@ -50,5 +47,12 @@ return Result.build(200, "鐮存崯/鎷胯蛋鎴愬姛", null); } + @ApiOperation("涓┖鐞嗙墖绗兼牸瀛愮鐢�/鍚敤") + @GetMapping("/updateHollowStorageCageDisabled") + public Result updateHollowStorageCageDisabled(int slot, int enableState) { + hollowBigStorageCageDetailsService.updateHollowStorageCageDisabled(slot, enableState); + return Result.build(200, "鍚敤/绂佺敤鎴愬姛", 1); + } + } -- Gitblit v1.8.0