From c6cb57f307b0c62a05cac78cfd828c313f10e611 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期二, 15 四月 2025 10:58:25 +0800
Subject: [PATCH] 1、卧式理片笼新增任务逻辑 2、入参时间加入时区

---
 hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/rawglassstation/controller/RawGlassStorageStationController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/rawglassstation/controller/RawGlassStorageStationController.java b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/rawglassstation/controller/RawGlassStorageStationController.java
index 9c60f56..b94c59a 100644
--- a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/rawglassstation/controller/RawGlassStorageStationController.java
+++ b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/rawglassstation/controller/RawGlassStorageStationController.java
@@ -22,12 +22,12 @@
   @ApiOperation("宸ヤ綅鐘舵��")
   @PostMapping("/updateSlotState")
   @ResponseBody
-  public Result<Boolean> updateSlotState(@RequestBody Integer enableState, Integer slot) {
+  public Result<Boolean> updateSlotState(@RequestParam(value = "state")int enableState, @RequestParam(value = "slot")int slot) {
     boolean result = rawGlassStorageStationService.updateSlotState(slot, enableState);
     if (enableState == 1) {
-      return Result.build(1, "鍚敤", result);
+      return Result.build(200, "鍚敤", result);
     } else {
-      return Result.build(0, "绂佺敤", result);
+      return Result.build(200, "绂佺敤", result);
     }
   }
 }

--
Gitblit v1.8.0