|  |  |  | 
|---|
|  |  |  | @Repository | 
|---|
|  |  |  | public interface LocMastMapper extends BaseMapper<LocMast> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | LocMast queryFreeLocMast(@Param("row") Integer row, @Param("rows")  List<Integer> rows, @Param("locType1") Short locType1); | 
|---|
|  |  |  | 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 loc_type1 = #{locType1} and crn_no = #{crnNo}") | 
|---|
|  |  |  | Integer selectEmptyLocCount(@Param("locType1") Short locType1, @Param("crnNo") 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); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|