From e7398a9acee723ccdc7c2794e85c3b9650225022 Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期五, 01 九月 2023 16:40:52 +0800 Subject: [PATCH] 电视机显示 --- src/main/java/com/zy/asrs/mapper/LocMastMapper.java | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java index 51376b7..46de5b0 100644 --- a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java @@ -13,9 +13,19 @@ @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_type = 'O' and crn_no = #{crnNo}") + LocMast queryFreeLocMast1(@Param("row") Integer row, @Param("locType1") Short locType1 ,@Param("channelMax") int channelMax); + + LocMast queryFreeLocMast2(@Param("row") Integer row, @Param("locType1") Short locType1, @Param("locType2") Short locType2); + + Integer queryFreeLocMastCount(@Param("row") Integer row, @Param("locType1") Short locType1, @Param("locType2") Short locType2); + + @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); } -- Gitblit v1.9.1