|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.common.wms.service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.extension.service.IService; | 
|---|
|  |  |  | import com.zy.asrs.common.domain.dto.LocRangeDto; | 
|---|
|  |  |  | import com.zy.asrs.common.wms.entity.LocMast; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public interface LocMastService extends IService<LocMast> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取同组货架的空库位 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param sourceLocNo 源库位 | 
|---|
|  |  |  | * @return 同组空库位集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<String> queryGroupEmptyStock(String sourceLocNo, Long hostId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 检索可用库位 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<LocMast> queryFreeLocMast2(Short locType1, Integer rowBeg, Integer rowEnd, Integer bayBeg, Integer bayEnd, Integer levBeg, Integer levEnd, Long hostId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 检查当前库位所属巷道的空库位数量 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Boolean checkEmptyCount(LocMast locMast, int quaOfBlank, Long hostId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | LocMast findNearloc(String locNo, Long hostId, LocRangeDto locRangeDto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|