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

51 lines
1.5 KiB
C#

using HighWayIot.Repository.domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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 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);
}
}