From 92c1cf60b4b804b97b54876b5140132a16765333 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期一, 25 三月 2024 08:09:11 +0800
Subject: [PATCH] 测试更新

---
 springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java b/springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java
index 7b49fa8..5c4474a 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java
@@ -21,6 +21,10 @@
      //璇诲彇DB105鍖烘枃浠�
     private PlcParameterObject plcmes=PLCAutoMes.PlcMesObject;
 public Short selectAll(GlassInfo glassInfo) {
+    if(glassInfo==null){
+        //鏈夎繘鐗囪姹備絾鏄祴閲忓彴娌℃湁鐜荤拑
+        return 400;
+    }
     //瀹氫箟鍒濆瀛楁
     int cageid;
     String glassid=glassInfo.getGlassid();

--
Gitblit v1.8.0