From ed13d4fecbb497c98df3bed3d5d4037d1448124b Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 23 十月 2024 20:17:14 +0800
Subject: [PATCH] 1、修改表结构,修改liquibase,在本地启动需要打开liquibase开关,重新执行执行脚本,将最新的结构更新到数据库,之后关闭liquibase开关 2、将各个模块的opc设为关闭状态,可按照实际开发情况在本地开关

---
 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