package com.casic.missiles.mapper.business;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.missiles.dto.business.outsource.OrderSampleResponseDTO;
import com.casic.missiles.model.business.BusinessOutsourceProjectSampleRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 分包项目-样品关联表 Mapper 接口
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-23
 */
public interface BusinessOutsourceProjectSampleRelationMapper extends BaseMapper<BusinessOutsourceProjectSampleRelation> {

    List<OrderSampleResponseDTO> selectSampleList(@Param("projectId") Long projectId);

    List<OrderSampleResponseDTO> selectSampleList2(@Param("projectId") Long projectId, @Param("sampleNo") String sampleNo, @Param("sampleName") String sampleName);

}
