using Admin.Core.IService;
using Admin.Core.Model;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Admin.Core.IService
{
///
/// IBaseSpaceDetailServices
///
public interface IBaseSpaceDetailServices : IBaseServices
{
///
/// 通过货道号获取货道明细
///
///
///
///
Task> GetSpaceDetailsBySpaceCode(string storeCode, string spaceCode);
///
/// 通过物料编号获取货道明细
///
///
///
Task GetSpaceDetailByMaterialCode(string materialCode);
///
/// 根据物料类型获取可用的货道明细
///
///
///
///
Task> GetSpaceDetailsByMaterialTypeAsync(string storeCode, string materialType);
///
/// 添加货道明细
///
///
///
Task InsertSpaceDetail(BaseSpaceDetail spaceDetail);
///
/// 修改货道明细
///
///
///
Task UpdateSpaceDetail(BaseSpaceDetail spaceDetail);
///
/// 根据物料编号删除货道明细
///
///
///
Task DeleteSpaceDetailByMaterialCode(string materialCode);
}
}