| | |
| | | |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import com.zy.asrs.entity.LocMast; |
| | | import com.zy.asrs.entity.param.ErrorDeviceParam; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | |
| | | @Mapper |
| | | @Repository |
| | | public interface LocMastMapper extends BaseMapper<LocMast> { |
| | | |
| | | List<LocMast> asrLocMastNotInDetl1(); |
| | | List<LocMast> asrLocMastNotInDetl2(); |
| | | List<LocMast> asrLocMastNotInDetl3(); |
| | | List<ErrorDeviceParam> adjacentLocMast(); |
| | | List<LocMast> selectLocByLev(Integer lev); |
| | | |
| | | LocMast queryFreeLocMast(@Param("row") Integer row, @Param("locType1") Short locType1,@Param("whsType") Long whsType); |
| | |
| | | @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,@Param("whsType") Long whsType); |
| | | |
| | | @Select("select min(row1) from asr_loc_mast where area_id = #{areaId}") |
| | | Integer selectMinRowByArea(@Param("areaId") Integer areaId); |
| | | |
| | | List<LocMast> queryShallowLocFMast(@Param("crnNo") Integer crnNo,@Param("whsType") Long whsType); |
| | | |
| | | List<LocMast> selectLocShuttleMoveUnilateralY(@Param("bay")Integer bay,@Param("lev")Integer lev,@Param("whsType") Long whsType); |