From c1bcfc1aa6c526e78de533d50cbe0c2f87bc8158 Mon Sep 17 00:00:00 2001
From: hmpc <hmpc>
Date: 星期一, 24 二月 2025 18:36:08 +0800
Subject: [PATCH] *
---
src/main/java/com/zy/asrs/controller/RgvController.java | 6 +++---
src/main/webapp/views/index.html | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/RgvController.java b/src/main/java/com/zy/asrs/controller/RgvController.java
index bf121b5..08ca18c 100644
--- a/src/main/java/com/zy/asrs/controller/RgvController.java
+++ b/src/main/java/com/zy/asrs/controller/RgvController.java
@@ -473,10 +473,10 @@
@PostMapping("/disable/rgv/status")
// @ManagerAuth(memo = "淇敼RGV鐘舵��")
- public R rgvDisableStatus(@RequestParam Integer rgvId,
+ public R rgvDisableStatus(@RequestParam Integer rgvNo,
@RequestParam Integer status){
- log.info("/disable/rgv/status===銆嬩慨鏀筊GV鐘舵�侊紒锛侊紒rgvId:{},status:{},data:{}",rgvId,status,new Date());
- BasCircularShuttle basCircularShuttle = basCircularShuttleService.selectOne(new EntityWrapper<BasCircularShuttle>().eq("rgv_id", rgvId));
+ log.info("/disable/rgv/status===銆嬩慨鏀筊GV鐘舵�侊紒锛侊紒rgvNo:{},status:{},data:{}",rgvNo,status,new Date());
+ BasCircularShuttle basCircularShuttle = basCircularShuttleService.selectOne(new EntityWrapper<BasCircularShuttle>().eq("rgv_no", rgvNo));
if (basCircularShuttle == null){
return R.error().add("鏈壘鍒版RGV锛屽紓甯革紒锛侊紒");
}
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 765a86c..3fe1abe 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -499,7 +499,7 @@
headers: {'token': localStorage.getItem('token')},
method: 'POST',
data: {
- rgvId: row.rgvNo,
+ rgvNo: row.rgvNo,
status: targetStatus
},
success: function (res) {
--
Gitblit v1.9.1