|
|
|
|
using Aucma.Scada.Model.domain;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace HighWayIot.Repository.service
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道信息业务接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IBaseSpaceInfoService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库通过物料类型获取指定货道,如果没有对应类型的货道返回空白类型的货道
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="store"></param>
|
|
|
|
|
/// <param name="materialType"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
BaseSpaceInfo InStoreGetSpaceInfoByMaterialType(string store, string materialType);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库通过物料类型获取指定货道
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="store"></param>
|
|
|
|
|
/// <param name="materialType"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
BaseSpaceInfo OutStoreGetSpaceInfoByMaterialCode(string store, string materialCode);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过货道编号获取货道信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="store"></param>
|
|
|
|
|
/// <param name="spaceCode"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
BaseSpaceInfo GetSpaceInfoBySpaceCode(string store, string spaceCode);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过仓库编号获取货道信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="storeCode"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<BaseSpaceInfo> GetSpaceInfosByStoreCode(string storeCode);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过物料类型获取货道信息,如果没有返回空白货道
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="storeCode"></param>
|
|
|
|
|
/// <param name="materialType"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<BaseSpaceInfo> GetBaseSpaceInfosByMaterialType(string storeCode, string materialType);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新货道信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="spaceInfo"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
bool UpdateSpaceInfo(BaseSpaceInfo spaceInfo);
|
|
|
|
|
}
|
|
|
|
|
}
|