| | |
| | | package com.zy.asrs.service; |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.zy.asrs.entity.LocDetl; |
| | | import com.zy.asrs.entity.LocMast; |
| | | |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 检索可用库位 |
| | | */ |
| | | LocMast queryFreeLocMast(Integer row, List<Integer> rows, 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); |
| | | |
| | | /** |
| | | * 获取同组货架的空库位 |
| | |
| | | * @param locMast |
| | | * @return |
| | | */ |
| | | Boolean checkEmptyCount(LocMast locMast); |
| | | |
| | | /** |
| | | * 当前库存明细是否为整托 |
| | | */ |
| | | Boolean checkWhole(List<LocDetl> locDetls); |
| | | Boolean checkEmptyCount(LocMast locMast, int quaOfBlank); |
| | | |
| | | /** |
| | | * 判断是否是最外层的库位 |
| | | * @param locNo |
| | | * @return |
| | | */ |
| | | Boolean isOutMost(String locNo); |
| | | Boolean isOutMost(String locNo, Boolean pakin); |
| | | |
| | | LocMast findOutMost(List<String> locNos); |
| | | // 同组空闲库位 入库用 |
| | | LocMast findOutMost(String locNo); |
| | | |
| | | // 获取对应出库堆垛机号码 |
| | | Integer getOutCrnNo(LocMast locMast); |
| | | |
| | | LocMast findNearloc(String locNo); |
| | | |
| | | LocMast findInnerLoc(String locNo); |
| | | |
| | | List<LocMast> selectAllPeakLoc(); |
| | | |
| | | Boolean checkAllLocEmpty(List<String> groupOuterLoc); |
| | | |
| | | //查询指定楼层的库位数据 |
| | | List<LocMast> selectLocByLev(Integer lev); |
| | | |
| | | List<LocMast> selectEmptyByLocNos(List<String> locNos); |
| | | |
| | | LocMast selectByLoc(String locNo); |
| | | |
| | | Integer updateLocType2ByRBL(Integer locType2, Integer startRow, Integer endRow, Integer startBay, Integer endBay, Integer startLev, Integer endLev); |
| | | |
| | | void updateByLocNo(LocMast locMast); |
| | | |
| | | List<LocMast> selectLocDetlNotExist(); |
| | | } |