| | |
| | | @Repository |
| | | public interface LocMastMapper extends BaseMapper<LocMast> { |
| | | |
| | | List<LocMast> queryFreeLocMast(@Param("rows") List<Integer> rows, @Param("rowsLen") Integer rowsLen, @Param("locType1") Short locType1); |
| | | |
| | | LocMast queryFreeLocMast0(@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 crn_no = #{crnNo}") |
| | | Integer selectEmptyLocCount(@Param("crnNo") Integer crnNo); |
| | | @Select("select count(*) as count from asr_loc_mast where 1=1 and loc_sts = 'O' and loc_type3 = #{locType3} and lev1 = #{lev}") |
| | | Integer selectEmptyLocCount(@Param("locType3") Short locType3, @Param("lev") Integer lev); |
| | | |
| | | List<LocMast> queryFreeLocMast2(@Param("rows") List<Integer> rows, @Param("rowsLen") Integer rowsLen, @Param("locType1") Short locType1); |
| | | List<LocMast> queryFreeLocMast2(Short locType1, Integer rowBeg, Integer rowEnd, Integer bayBeg, Integer bayEnd, Integer levBeg, Integer levEnd); |
| | | |
| | | /** |
| | | * 搜索指定区域可用库位 |
| | | */ |
| | | List<LocMast> selectAreaEmpty(Short locType1, Integer locType3); |
| | | |
| | | /** |
| | | * 搜索指定区域可用库位 |
| | | */ |
| | | List<LocMast> selectAreaEmptyByLev(Short locType1, Integer locType3, Integer lev); |
| | | |
| | | LocMast selectAvailableNearLocDesc(@Param("groupLoc") List<String> groupOuterLoc); |
| | | |
| | |
| | | |
| | | List<LocMast> selectLocByLev(Integer lev); |
| | | |
| | | List<LocMast> selectEmptyByLocNos(@Param("locNos") List<String> locNos); |
| | | |
| | | LocMast selectByLoc(String locNo); |
| | | |
| | | Integer updateLocType2ByRBL(Integer locType2, Integer startRow, Integer endRow, Integer startBay, Integer endBay, Integer startLev, Integer endLev); |
| | | |
| | | List<LocMast> selectLocDetlNotExist(); |
| | | |
| | | } |