huangxiaoqiang
2025-10-27 387731cab892804912e68cb91e6fb804411c4756
项目代码/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);
}