From fa8ac2c8675f3b461d518a19b9f9da184363930c Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期日, 20 八月 2023 23:44:35 +0800 Subject: [PATCH] #5、7堆垛机空库位限制 --- src/main/java/com/zy/asrs/mapper/LocMastMapper.java | 7 +++++++ 1 files changed, 7 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 5a414ba..f509034 100644 --- a/src/main/java/com/zy/asrs/mapper/LocMastMapper.java +++ b/src/main/java/com/zy/asrs/mapper/LocMastMapper.java @@ -18,4 +18,11 @@ @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); + + LocMast queryNeedMoveShallLoc(Integer crnNo); + LocMast queryNeedMoveShallLocD(Integer crnNo); } -- Gitblit v1.9.1