From 946b26f26e54d40e85be9feb28cb5373384f03ea Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期六, 02 十二月 2023 09:07:10 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes

---
 springboot-vue3/src/main/java/com/example/springboot/mapper/SpianMapper.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/mapper/SpianMapper.java b/springboot-vue3/src/main/java/com/example/springboot/mapper/SpianMapper.java
index a8ea2dd..d64b361 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/mapper/SpianMapper.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/mapper/SpianMapper.java
@@ -152,12 +152,12 @@
      @Select("select state from queue where type=1")
      int Selectqueuestate();
      //鍒ゆ柇閾濇鍑虹墖琛ㄦ槸鍚︽湁鐜荤拑闇�瑕佸嚭
-     @Select("SELECT glassid FROM `out_slice` where state=0  order by id limit 1;")
+     @Select("SELECT glassid FROM `out_slice` where state=0  order by sequence,id  limit 1;")
      String SelectOutSlice();
      //鍒ゆ柇閾濇鍑虹墖琛ㄦ槸鍚︽湁鐜荤拑姝e湪鍑虹墖涓�
      @Select("SELECT count(*) FROM `out_slice` where state=1;")
      int SelectOutSliceshu();
-     //瀹屾垚鍑虹墖闃熷垪鐨勪换鍔�
+     //鏇存柊鍑虹墖闃熷垪鐨勪换鍔$姸鎬�
      @Update("update out_slice set state=#{state} where glassid=#{glassid}")
      void OverOutSlice(String glassid,int state);
   

--
Gitblit v1.8.0