From dbe1a260848e2314b2ac36691df9cb6f2f5b9062 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 15 十二月 2023 17:01:17 +0800
Subject: [PATCH] 修改理片程序

---
 springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 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 7927307..38b5b3d 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
@@ -62,10 +62,6 @@
   @Update("update storage_cage set state=1 where glass_id=#{glassid} and state=2")
   void UpdateCageTask1(@Param("glassid") String glassid);
 
-  // 鎵嬪姩瀹屾垚鍑虹墖浠诲姟淇敼绗煎瓙鏁版嵁
-  @Update("update storage_cage set state=0,glass_id=null,order_id=null,glasswidth=null,glassheight=null where glass_id=#{glassid} and state=3")
-  void UpdateCageTask2(@Param("glassid") String glassid);
-
   //鑾峰彇鎶ヨ淇℃伅
   @Select("select id,content,timeon as timeons,endTime from alarmmg where endTime is null")
   List<alarmmg> SelectAlarmmgInfo();
@@ -74,6 +70,7 @@
   @Select("select * from storage_cage where position(#{cage} in ifnull(glass_id,\"\"))")
   List<StorageCage> SelectCageInfo(String cage);
 
+  // 鎵嬪姩瀹屾垚鍑虹墖浠诲姟淇敼绗煎瓙鏁版嵁
   @Update("update storage_cage set state=0,glass_id=null,order_id=null,glasswidth=null,glassheight=null,glasswidthmm=null,glassheightmm=null,listid=null,boxid=null where glass_id=#{glassid}")
   void DeleteByGlassID(String glassid);
 
@@ -153,7 +150,7 @@
 
 
   //鏌ヨ鐜荤拑鏄惁宸插瓨鍦ㄤ簬鍑虹墖闃熷垪
-  @Select("select * from out_slice where glassid=#{getbarcode} and (state=0 or state=1 or state=2)")
+  @Select("select * from out_slice where glassid=#{getbarcode} and (state=0 or state=1 or state=2 or state=3)")
   Out_slice SelectQueueByglassid(String getbarcode);
 
   //娣诲姞鍑虹墖闃熷垪

--
Gitblit v1.8.0