From 6f01df95aaf3c4143069bb9a0fc814e092684723 Mon Sep 17 00:00:00 2001 From: 严智鑫 <test> Date: 星期一, 18 三月 2024 11:11:43 +0800 Subject: [PATCH] 添加文件 --- springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java | 5 ++++- 1 files changed, 4 insertions(+), 1 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 f9c62da..8683f1d 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 @@ -280,8 +280,11 @@ @Update("update flowcard set method=#{method} where flowcard=#{flowcard}") void ModeChange(String flowcard, int method); - @Select("update queue set flowcard=#{flowcard},glasswidth=#{width},glassheight=#{height},glasstype=#{glasstype} where state=0") + @Update("update queue set flowcard=#{flowcard},glasswidth=#{width},glassheight=#{height},glasstype=#{glasstype} where state=0") void UpdateQueue(String flowcard,double width,double height,Integer glasstype); + + @Update("update glassinfo set finishnumber=finishnumber+1 where flowcard=#{flowcard} and mateid=#{mateid} and tier=#{geTier}") + void AddGlassNo(String flowcard, Integer mateid, Integer geTier); } -- Gitblit v1.8.0