package com.zy.asrs.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.zy.asrs.entity.LocMast;
|
|
import java.util.List;
|
|
public interface LocMastService extends IService<LocMast> {
|
|
/**
|
* 检索可用库位
|
*/
|
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 sourceLocNo 源库位
|
* @return 同组空库位集合
|
*/
|
List<String> queryGroupEmptyStock(String sourceLocNo);
|
|
/**
|
* 检查当前库位所属巷道的空库位数量
|
* @param locMast
|
* @return
|
*/
|
Boolean checkEmptyCount(LocMast locMast, int quaOfBlank);
|
|
/**
|
* 判断是否是最外层的库位
|
* @param locNo
|
* @return
|
*/
|
Boolean isOutMost(String locNo, Boolean pakin);
|
|
// 同组空闲库位 入库用
|
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();
|
}
|