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/HighWayIot.Repository/service/IBaseSpaceDetailService.cs

55 lines
1.8 KiB
C#

using Aucma.Scada.Model.domain;
using System.Collections.Generic;
namespace HighWayIot.Repository.service
{
public interface IBaseSpaceDetailService
{
/// <summary>
/// 通过货道号获取货道明细
/// </summary>
/// <param name="storeCode"></param>
/// <param name="spaceCode"></param>
/// <returns></returns>
List<BaseSpaceDetail> GetSpaceDetailsBySpaceCode(string storeCode, string spaceCode);
/// <summary>
/// 通过物料编号获取货道明细
/// </summary>
/// <param name="materialCode"></param>
/// <returns></returns>
BaseSpaceDetail GetSpaceDetailByMaterialCode(string spaceCode,string materialCode, string detailCode);
/// <summary>
/// 根据物料类型获取可用的货道明细
/// </summary>
/// <param name="storeCode"></param>
/// <param name="materialType"></param>
/// <returns></returns>
List<BaseSpaceDetail> GetSpaceDetailsByMaterialType(string storeCode, string materialType);
/// <summary>
/// 添加货道明细
/// </summary>
/// <param name="spaceDetail"></param>
/// <returns></returns>
bool InsertSpaceDetail(BaseSpaceDetail spaceDetail);
/// <summary>
/// 修改货道明细
/// </summary>
/// <param name="spaceDetail"></param>
/// <returns></returns>
bool UpdateSpaceDetail(BaseSpaceDetail spaceDetail);
/// <summary>
/// 根据物料编号删除货道明细
/// </summary>
/// <param name="materialCode"></param>
/// <returns></returns>
bool DeleteSpaceDetailByMaterialCode(string spaceCode,string materialCode,string detailCode);
}
}