From d3784e22324ba6ae25fffc0e19874a07dd0d12ae Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 23 四月 2024 23:22:52 +0800
Subject: [PATCH] 修改IP进行打包,修改进片方法参数

---
 springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java b/springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java
index df711b9..87b0feb 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/service/StorageCageService.java
@@ -1,5 +1,6 @@
 package com.example.springboot.service;
 
+import java.sql.SQLException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
@@ -14,6 +15,7 @@
 import com.example.springboot.entity.Queue;
 import com.example.springboot.entity.StorageCage;
 import com.example.springboot.entity.StorageTask;
+import com.example.springboot.entity.north_glass_buffer1;
 import com.example.springboot.mapper.HomeMapper;
 
 @Service
@@ -26,6 +28,9 @@
 
     @Autowired
     private SpianService spianService;
+
+    @Autowired
+    private JdbcConnections jdbcConnections;
 
     public void EndTask(int types) {
         String A01glassid1 = spianService.queGlassid("DB103.128", 14).toString();
@@ -179,7 +184,7 @@
         return Result.success(map);
     }
 
-    public Result InsertQueueGlassId(Short id, Queue queue) {
+    public Result InsertQueueGlassId(Short id, Queue queue) throws SQLException {
         Map<String, Object> map = new HashMap<>();
 
         Short zhi = 200;
@@ -189,7 +194,8 @@
         } else {
             if (id == 1) {
                 // 璋冪敤浼嶅瓨鍌ㄨ繃绋�
-                zhi = spianService.selectAll(queue.getglassId());
+                north_glass_buffer1 north_glass_buffer1 = jdbcConnections.SelectGlassByGlassIdOrderIdFrameId(queue.getglassId(), "", "");
+                zhi = spianService.selectAll(north_glass_buffer1);
                 if (zhi == 200) {
                     homeMapper.InsertQueueGlassId(queue, id);
                 }

--
Gitblit v1.8.0