package com.yeejoin.equipmanage.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yeejoin.amos.boot.biz.common.bo.ReginParams;
import com.yeejoin.amos.feign.privilege.model.AgencyUserModel;
import com.yeejoin.equipmanage.common.entity.EquipmentSpecific;
import com.yeejoin.equipmanage.common.entity.Stock;
import com.yeejoin.equipmanage.common.entity.StockBill;
import com.yeejoin.equipmanage.common.entity.StockDetail;
import com.yeejoin.equipmanage.common.entity.vo.EquipmentDetailDownloadVO;
import com.yeejoin.equipmanage.dto.EquipmentDetailDownloadTemplateDto;

/**
 * 库存台账 服务类
 *
 * @author wujiang
 * @date 2020-07-07
 */
public interface IStockService extends IService<Stock> {

    StockBill in(List<StockDetail> list, String type,AgencyUserModel agencyUserModel);

    /**
     * 文档上传
     *
     * @param equipmentDetailDownloadVOS
     * @param reginParams
     * @param agencyUserModel
     * @return
     */
    List<EquipmentSpecific> uploadList(List<EquipmentDetailDownloadVO> equipmentDetailDownloadVOS, ReginParams reginParams, AgencyUserModel agencyUserModel);
    List<EquipmentSpecific> uploadListByTemplate(List<EquipmentDetailDownloadTemplateDto> equipmentDetailDownloadVOS, ReginParams reginParams, AgencyUserModel agencyUserModel);


}
