package com.patzn.lims.consume.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.consume.dto.LmsChemicalStockDTO;
import com.patzn.lims.consume.enums.StockUserecordEnum;
import com.patzn.lims.consume.vo.LmsChemicalUserecordVO;
import com.patzn.lims.core.web.IBaseService;
import com.patzn.lims.consume.entity.LmsChemicalUserecord;

/**
 * <p>
 * 耗材使用记录表 服务类
 * </p>
 *
 * @author wwd
 * @since 2020-03-24
 */
public interface ILmsChemicalUserecordService extends IBaseService<LmsChemicalUserecord> {

    Page<LmsChemicalUserecord> page(Page<LmsChemicalUserecord> page, LmsChemicalUserecord lmsChemicalUserecord);

    Page<LmsChemicalUserecordVO> pageVO(Page page, LmsChemicalUserecordVO lmsChemicalUserecord);


    boolean saveStockRecord(StockUserecordEnum stockUserecordEnum, LmsChemicalStockDTO dto);
}
