From 3bf5e55d78c17cb78c1775b18b8574049304f5de Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期三, 16 十月 2024 15:16:48 +0800 Subject: [PATCH] * --- src/main/java/com/zy/asrs/mapper/LocMastMapper.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java index 1f8ee39..286d471 100644 --- a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java @@ -28,4 +28,12 @@ LocMast queryDemoLoc(@Param("crnNo") 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); + + @Select("select loc_no from asr_loc_mast where crn_no = #{crnNo} and loc_sts='O' order by lev1, bay1, row1") + List<String> getDemoNextLoc(Integer crnNo); + + List<LocMast> selectByLocNos(@Param("locNos") List<String> locNos); + } -- Gitblit v1.9.1