From 625d2b6dd9bd4a1c63bf7e1b2701393d908f7a81 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期六, 11 五月 2024 08:31:12 +0800 Subject: [PATCH] 客户数据库变更,部分铝框没有对应玻璃信息,扫码添加出片队列时,当铝框没有对应玻璃时直接添加到出片队列 --- springboot-vue3/src/main/java/com/example/springboot/component/Plclog.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/component/Plclog.java b/springboot-vue3/src/main/java/com/example/springboot/component/Plclog.java index 3a312ca..e42ef08 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/component/Plclog.java +++ b/springboot-vue3/src/main/java/com/example/springboot/component/Plclog.java @@ -15,11 +15,7 @@ while (this != null) { try { Thread.sleep(10); - } catch (InterruptedException e) { - // \\ TODO Auto-generated catch block - e.printStackTrace(); - } - spianMapper = WebSocketServer.applicationContext.getBean(SpianMapper.class); + spianMapper = WebSocketServer.applicationContext.getBean(SpianMapper.class); spianService = WebSocketServer.applicationContext.getBean(SpianService.class); StringBuilder B01glassid = spianService.queGlassid("DB103.184", 14);// BO1鐨勭幓鐠僫d StringBuilder B02glassid = spianService.queGlassid("DB103.212", 14);// B02鐨勭幓鐠僫d @@ -42,6 +38,11 @@ } b02 = B02backs; } + } catch (InterruptedException e) { + // \\ TODO Auto-generated catch block + e.printStackTrace(); + } + } } -- Gitblit v1.8.0