You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AUCMA_SCADA/Admin.Core.IService/IService_New/IBaseSpaceDetailServices.cs

58 lines
1.9 KiB
C#

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