From 4cdcf84577f52d8dd991cd90045264170da81c0c Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期一, 18 九月 2023 01:26:19 +0800 Subject: [PATCH] 晚上调试修改的内容 --- springboot-vue3/src/main/java/com/example/springboot/mapper/SpianMapper.java | 3 ++- 1 files changed, 2 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 3858c8f..012a8bc 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 @@ -69,7 +69,7 @@ @Update("update storage_cage set width=width+#{width} where cage=#{cage} and cell=#{cell};") void UpdataOutCage1(double width,int cage,int cell); //璋冩嫧鏇存崲绗煎瓙淇℃伅 - @Update("update storage_cage as a,(select*from storage_cage b where b.cage=#{cage} and b.cell=#{cell} and b.tier=2)as b set a.glass_id=b.glass_id,a.order_id=b.order_id,a.state=1 where a.id=#{id1}") + @Update("update storage_cage as a,(select*from storage_cage b where b.cage=#{cage} and b.cell=#{cell} and b.tier=2)as b set a.glass_id=b.glass_id,a.order_id=b.order_id,a.state=1,a.glasswidth=b.glasswidth where a.id=#{id1}") void UpdateDBCage(int id1,int cage,int cell); // @Insert("insert into user(name, date, address, user_no) values (#{name}, #{date}, #{address}, #{userNo})") // void insert (Spian spian); @@ -98,3 +98,4 @@ @Select("select glass_id from storage_cage where cage=#{cage} and cell=#{cell} and tier=2;") String SelectGlassid(int cage,int cell); } + \ No newline at end of file -- Gitblit v1.8.0