From e55aede2586b960bae1e03266fe7ef5cf7ee4c3d Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期三, 08 十一月 2023 09:55:16 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/mapper/LocMastMapper.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java index 57c635b..d5db54d 100644 --- a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java @@ -13,9 +13,16 @@ @Repository public interface LocMastMapper extends BaseMapper<LocMast> { - LocMast queryFreeLocMast(@Param("row") Integer row); + LocMast queryFreeLocMast(@Param("row") Integer row, @Param("locType1") Short locType1); @Select("select loc_no from asr_loc_mast where 1=1 and loc_sts = 'O' and crn_no = #{crnNo}") List<String> queryGroupEmptyStock(Integer crnNo); + @Select("select count(*) as count from asr_loc_mast where 1=1 and loc_sts = 'O' and loc_type1 = #{locType1} and crn_no = #{crnNo}") + Integer selectEmptyLocCount(@Param("locType1") Short locType1, @Param("crnNo") Integer crnNo); + + List<LocMast> queryShallowLocFMast(@Param("crnNo") Integer crnNo); + + List<LocMast> selectLocShuttleMoveUnilateralY(@Param("bay")Integer bay,@Param("lev")Integer lev); + List<LocMast> selectLocShuttleMoveUnilateralN(@Param("bay")Integer bay,@Param("lev")Integer lev); } -- Gitblit v1.9.1