From 368061fade130fab3a1df1cb1ab5e50d6f20a112 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期一, 09 十月 2023 10:58:23 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/mapper/AgvLocMastMapper.java | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/AgvLocMastMapper.java b/src/main/java/com/zy/asrs/mapper/AgvLocMastMapper.java index e2afaa9..0c93dc9 100644 --- a/src/main/java/com/zy/asrs/mapper/AgvLocMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/AgvLocMastMapper.java @@ -2,10 +2,7 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.AgvLocMast; -import org.apache.ibatis.annotations.Delete; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Param; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; import java.util.List; @@ -23,4 +20,13 @@ public void updateLocType2(@Param("locType2") int locType2, @Param("startRow")int startRow, @Param("endRow")int endRow, @Param("startBay")int startBay, @Param("endBay")int endBay, @Param("startLev")int startLev, @Param("endLev")int endLev, @Param("floor")int floor); List<AgvLocMast> queryFreeLocMast2(Short locType1, Integer rowBeg, Integer rowEnd, Integer bayBeg, Integer bayEnd, Integer levBeg, Integer levEnd); + + @Select("select loc_no " + + "from agv_loc_mast " + + "where loc_sts = 'O' and floor = ${floor}") + List<String> queryGroupEmptyStock(@Param("floor")int floor); + + + @Select("SELECT * FROM agv_loc_mast WHERE lev1 = #{lev} And floor = #{floor}") + List<AgvLocMast> selectLocByLevAndFloor(@Param("lev")int lev, @Param("floor")int floor); } -- Gitblit v1.9.1