wu
2023-10-30 68d56160c32384f8d939df0bd25bdc9c50b042b9
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);
  
}