自动化立体仓库 - WMS系统
zwl
1 天以前 48d6b46ef23a321cc70e20d36a2b3bf721d05206
src/main/java/com/zy/asrs/mapper/LocMastMapper.java
@@ -2,6 +2,7 @@
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;
@@ -12,7 +13,10 @@
@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);
@@ -23,6 +27,9 @@
    @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);