springboot-vue3/src/main/java/com/example/springboot/mapper/HomeMapper.java
@@ -246,7 +246,7 @@ void updateStroageCageByCell(Integer cell, Integer num); // 计算格子内剩余宽度 @Update("update storage_cage set width=5000-ifnull(glasswidth,0,glasswidth+50)*number where cell=#{cell}") @Update("update storage_cage set width=5000-if(glasswidth is null,0,glasswidth+50)*number where cell=#{cell}") void UpdateStroageCageWidthByCell(Integer cell); // 根据任务类型获取任务