From 09fe50d59e2f1e2261d376eb49ad6c40301f25b4 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期五, 10 五月 2024 16:08:59 +0800 Subject: [PATCH] 修改IP与数据库连接 --- springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java b/springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java index 8dbb53f..3b08bdb 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java +++ b/springboot-vue3/src/main/java/com/example/springboot/controller/HomeController.java @@ -178,7 +178,7 @@ Map<String, Object> map = new HashMap<>(); Out_slice result = homeMapper.SelectQueueByglassid(glassid); if (result == null) { - north_glass_buffer1 north_glass_buffer1 = jdbcConnections.SelectGlassByGlassIdOrderIdFrameId(glassid, "", ""); + north_glass_buffer1 north_glass_buffer1 = jdbcConnections.SelectGlassByGlassIdOrderIdFrameIdout(glassid, "", ""); String flip = jdbcConnections.SelectFlipByFrameBarcode(north_glass_buffer1.getFrameBarcode()); if (flip != null&&flip != "") { @@ -311,6 +311,7 @@ public Result SelectAluminumFrameInfoById(String FrameBarcode) throws SQLException { String flip = jdbcConnections.SelectFlipByFrameBarcode(FrameBarcode); List<north_glass_buffer1> AluminumFrame = north_Glass_Buffer1Service.SelectAluminumFrameInfoById(FrameBarcode); + Plchome.AluminumFrameInfo=jdbcConnections.SelectFrameBarcode(FrameBarcode); Map<String, Object> map = new HashMap<>(); map.put("AluminumFrame", AluminumFrame); map.put("flip", flip); @@ -405,6 +406,7 @@ @PostMapping("/CloseForm7") public Result CloseForm7() { Plchome.AluminumFrame = null; + Plchome.AluminumFrameInfo = null; Map<String, Object> map = new HashMap<>(); map.put("message", "200"); return Result.success(map); -- Gitblit v1.8.0