From 26a385feec1f358a8b6ccb23290f8f7046303203 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期一, 16 十二月 2024 16:54:42 +0800
Subject: [PATCH] 1、大理片笼详情表新增膜系字段 2、钢化查询接口改造:0非钢查询  1 钢化查询 3、指定钢化界面新增接口缺少详情接口:点击可查看当前工程+流程下缺失的玻璃信息 ,isdamage是否破损,当为1的时候无破损按钮 ,0时可以有破损按钮

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