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); }