From 3472c98ae1f560d0e326cab0994fe755aeb89d8f Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期一, 30 十月 2023 11:04:20 +0800
Subject: [PATCH] 显示扫码位,上片位当前玻璃信息,添加确认扫码位玻璃功能

---
 springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java b/springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java
index 921fbaa..c5e465f 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java
@@ -107,4 +107,14 @@
   @Select("select count(*) from storage_cage where glass_id=#{glassId}")
   short SelectStorageByGlassId(String glassId);
 
+  @Select("select * from glass where position(#{orderid} in orderid)")
+  List<Glass> SelectGlass(String orderid);
+
+  @Select("select * from queue qe inner join glass gl on qe.glassid=gl.glassid where id=#{id}")
+  List<Glass> GetQueueInfo(int id);
+
+  @Select("update queue set glassid=#{glassid},state=0,time=now() where id=1")
+  void InsertQueueGlassId(String glassid);
+
+  
 }

--
Gitblit v1.8.0