package com.patzn.lims.consume.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.consume.entity.LmsChemicalRelDelivery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.patzn.lims.consume.vo.LmsChemicalRelDeliveryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 试验耗材采购关联表 Mapper 接口
 * </p>
 *
 * @author wwd
 * @since 2020-03-25
 */
public interface LmsChemicalRelDeliveryMapper extends BaseMapper<LmsChemicalRelDelivery> {

    LmsChemicalRelDelivery selectChemicalRelDeliveryByAdd(@Param("chemicalId")Long chemicalId,@Param("uid") Long userId, @Param("stockid")Long stockId);

    List<LmsChemicalRelDeliveryVO> selectTempPage(Page page, @Param("vo") LmsChemicalRelDeliveryVO lmsChemicalRelDelivery);

    List<LmsChemicalRelDeliveryVO> getRelDelivery(@Param("lmsChemicalRelDelivery") LmsChemicalRelDelivery lmsChemicalRelDelivery);
}
