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.
|
|
|
|
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="storeCode"></param>
|
|
|
|
|
/// <param name="materialType"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<BaseSpaceDetail> GetSpaceDetailsByMaterialType(string storeCode, string materialType);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通过物料编号获取货道明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="materialCode"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
BaseSpaceDetail GetSpaceDetailByMaterialCode(string materialCode);
|
|
|
|
|
|
|
|
|
|
/// <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 materialCode);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|