package com.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wms.entity.table.Location;

import java.util.Map;

/**
 * 库位服务
 */
public interface LocationService extends IService<Location> {
    /**
     * 查找一个可用库位
     * @param inPoint 入库站点
     * @param goodsId 物料编号--可选
     * @return 结果 nextLocationId, preTaskId
     */
    Map<String, String> getOneLocation(String inPoint, String goodsId);
}
