#
luxiaotao1123
2021-07-02 ee51a946795e372e5d7ed025a71dabd27048975c
src/main/java/com/zy/asrs/mapper/LocMastMapper.java
@@ -13,6 +13,9 @@
@Repository
public interface LocMastMapper extends BaseMapper<LocMast> {
    @Select("select distinct row1 from asr_loc_mast where crn_no = #{crnNo}")
    List<Integer> queryDistinctRow(@Param("crnNo")Integer crnNo);
    LocMast queryFreeLocMast(@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}")
@@ -25,4 +28,7 @@
    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);
}