2024-07-04 07:43:04 +08:00
|
|
|
package com.wms.service;
|
|
|
|
|
|
2025-02-26 01:00:27 +08:00
|
|
|
import com.wms.entity.dto.locaiton.SelectArea;
|
2024-07-04 07:43:04 +08:00
|
|
|
import com.wms.entity.table.Location;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public interface LocationService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询库位列表
|
|
|
|
|
* @param location 库位查询参数
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
List<Location> selLocations(Location location);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查找下一个可用库位
|
|
|
|
|
* @param location 设备id
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
List<Location> selNextLocation(Location location);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 添加一个新库位
|
|
|
|
|
* @param location 库位信息
|
|
|
|
|
* @return 添加结果
|
|
|
|
|
*/
|
|
|
|
|
int addLocation(Location location);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改库位信息
|
|
|
|
|
* @param location 库位
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
int modifyLocation(Location location);
|
2025-02-26 01:00:27 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 区域划分
|
|
|
|
|
* @param location 选择的区域
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
int modifyArea(SelectArea selectArea);
|
2024-07-04 07:43:04 +08:00
|
|
|
}
|