using WCS.Model;
using WCS.DAL.DbModels;
using WCS.Model.ApiModel.StoreInfo;
using WCS.BLL.DbModels;
using WCS.Model.ApiModel.MatBaseInfo;
using WCS.Model.ApiModel.MatDetailCurrentInfo;
using WCS.Model.ApiModel.BatchBindMatDetail;

namespace WCS.BLL.Services.IService
{
    public interface IBatchBindMatDetailService
    {
        /// <summary>
        /// 查询货架存量列表
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public Task<PageQueryResponse<MatDetailCurrentInfoModel>> GetMatDetailCurrentInfosByStationCode(GetMatDetailCurrentInfosByStationCodeRequest request);
        
        /// <summary>
        /// 更新货架存量
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public Task<ResponseCommon<object>> updateMatDetailCurrentInfo(AddLocaionInfoRequest<MatDetailCurrentInfo> request);

        /// <summary>
        /// 删除货架存量数据
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public Task<ResponseCommon<object>> deleteMatDetailCurrentInfo(DeleteInfosRequest request);

        /// <summary>
        /// 批量导入物料绑定关系
        /// </summary>
        /// <param name="lists"></param>
        /// <param name="userName"></param>
        /// <param name="deviceType"></param>
        /// <returns></returns>
        public Task<ResponseCommon<List<string>>> importMatDetailCurrentInfo(List<MatDetailCurrentInfoImportModel> lists, string userName, string deviceType,string stationCode);
    }
}
