From d7e08c1a87903f9961c31e57ed6f6243f6c43eee Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 12 十二月 2023 13:02:26 +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 | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 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 404cb87..be079cd 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
@@ -163,6 +163,17 @@
//鏇存柊鍑虹墖闃熷垪鐨勪换鍔$姸鎬�
@Update("update out_slice set state=#{state} where glassid=#{glassid}")
void OverOutSlice(String glassid,int state);
-
+ //鑾峰彇鐜荤拑鐨勯摑妗唅d
+ @Select("select barcode from out_slice where glassid=#{glassid};")
+ String SelectBarcode(String glassId);
+ //鑾峰彇鍑虹墖闃熷垪鐨勯摑妗嗘槸鍚﹀叏閮ㄥ畬鎴�
+ @Select("select MIN(state) from out_slice where barcode=#{barcode};")
+ int SelectOverState(String barcode);
+ //鍒犻櫎鍑虹墖闃熷垪璇ラ摑妗嗙殑id
+ @Delete("delete from out_slice where barcode=#{barcode};")
+ void DeleteQueue(String barcode);
+ //鎶婅杩涚墖鐨勭幓鐠冩洿鏂板埌鍑虹墖闃熷垪
+ @Select("update out_slice set state=0 where glassId=#{glassId} and state=3")
+ void UpdateAddQueue(String glassId);
}
\ No newline at end of file
--
Gitblit v1.8.0