1
huangxiaoqiang
2 天以前 5a15fa73d5f6a39917013871a65eb11a8c013391
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_IStorageBasicService/Stock/IStockInfoService.cs
@@ -1,6 +1,35 @@
锘縩amespace WIDESEA_IStorageBasicService;
锘縰sing WIDESEA_DTO.Basic;
using WIDESEA_DTO.Stock;
namespace WIDESEA_IStorageBasicService;
public interface IStockInfoService : IService<DtStockInfo>
{
    Task<Dictionary<string, int>> GetLocationByStockType(bool stockType, string areaCode);
    /// <summary>
    /// 搴撳瓨瑙嗗浘
    /// </summary>
    /// <param name="viewDto"></param>
    /// <returns></returns>
    List<StockSelectViewDTO> GetStockSelectViews(GetStockSelectViewDto viewDto);
    List<DtLocationInfo> GetStockLocations(List<DtLocationInfo>? locations);
    /// <summary>
    /// 缁勭洏
    /// </summary>
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    Task<WebResponseContent> AddGroupPlateAsync(GroupPlate groupPlate);
    /// <summary>
    /// 瑙g洏
    /// </summary>
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    Task<WebResponseContent> DeleteGroupPlateAsync(GroupPlate groupPlate);
    WebResponseContent GetStockView(GetStockSelectViewDto viewDto);
}