|  |  |  | 
|---|
|  |  |  | public interface LocMastService extends IService<LocMast> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机对应的排号集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Integer> queryDistinctRow(Integer crnNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 检索可用库位 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | LocMast queryFreeLocMast(Integer row); | 
|---|
|  |  |  | LocMast queryFreeLocMast(Integer row, Short locType1); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取同组货架的空库位 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | LocMast queryDemoSourceLoc(Integer crn); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | LocMast queryDemoSourceLoc1(Integer crn); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机演示获取目标库位 | 
|---|
|  |  |  | * @param crn | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | LocMast queryDemoLoc(Integer crn); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机演示获取目标库位 | 
|---|
|  |  |  | * @param crn | 
|---|
|  |  |  | * @param locType1 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | LocMast queryDemoLoc0(Integer crn, short locType1); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | LocMast queryDemoLoc2(Integer crn, short locType1); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 检查当前库位所属巷道的空库位数量 | 
|---|
|  |  |  | * @param locMast | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Boolean checkEmptyCount(LocMast locMast); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|