From 68d56160c32384f8d939df0bd25bdc9c50b042b9 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期一, 30 十月 2023 11:08:04 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes --- springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 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 ddec941..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,7 +107,14 @@ @Select("select count(*) from storage_cage where glass_id=#{glassId}") short SelectStorageByGlassId(String glassId); - @Select("select * from glass where orderid=#{orderid}") + @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