Files
sy_hx_pbl_backend/DOAN.Service/PBL/IService/IStoragelocationService.cs

46 lines
1.2 KiB
C#

using DOAN.Model.PBL.Dto;
using DOAN.Model.PBL;
namespace DOAN.Service.PBL.IService
{
/// <summary>
/// 料架表service接口
/// </summary>
public interface IStoragelocationService : IBaseService<Storagelocation>
{
/// <summary>
/// 获取料架下拉数据
/// </summary>
/// <returns></returns>
List<SelectOptionsDto> GetRackCodeOptions();
/// <summary>
/// 获取BOM中的零件号下拉
/// </summary>
/// <returns></returns>
List<SelectOptionsDto> GetPartNumberOptions();
PagedInfo<StoragelocationDto> GetList(StoragelocationQueryDto parm);
Storagelocation GetInfo(int Id);
Storagelocation AddStoragelocation(Storagelocation parm);
int UpdateStoragelocation(Storagelocation parm);
/// <summary>
/// 获取零件号库存
/// </summary>
/// <param name="parm"></param>
/// <returns></returns>
List<StoragelocationPartNumberGroupDto> GetPartNumberList();
/// <summary>
/// 修改料架的零件号
/// </summary>
/// <returns></returns>
int UpdateRackPartNumber(string rackCode,int layerNum,string partnumber);
}
}