From 0ece3ba8c92df0438af52b8de6b9225d8ada4103 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期四, 30 十一月 2023 08:46:34 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes --- springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java index a8e397e..64216cd 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plchome.java @@ -2,11 +2,7 @@ import cn.hutool.json.JSONObject; -import java.sql.SQLException; -import java.util.ArrayList; -import java.util.HashMap; import java.util.List; -import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; @@ -14,7 +10,6 @@ import com.example.springboot.entity.Queue; import com.example.springboot.entity.StorageCage; import com.example.springboot.entity.alarmmg; -import com.example.springboot.entity.north_glass_buffer1; import com.example.springboot.mapper.HomeMapper; import com.example.springboot.mapper.SpianMapper; import com.example.springboot.service.JdbcConnections; @@ -29,7 +24,7 @@ private JdbcConnections jdbcConnections; - // public static int a=1; + public static Boolean isAllowQueue=true; // public static Map b=new HashMap<>(); // b.put() @Override @@ -105,6 +100,9 @@ out_slice.setstorageCage(homeMapper.SelectStorageGlassById(out_slice.getGlassId())); } jsonObject.append("listoutslice", listoutslice); + //鑾峰彇褰撳墠鍑虹墖闃熷垪鐘舵�� + jsonObject.append("isAllowQueue", isAllowQueue); + dbserve = WebSocketServer.applicationContext.getBean(JdbcConnections.class); boolean dbconnected = false; -- Gitblit v1.8.0