package com.casic.missiles.mapper.business;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.casic.missiles.dto.business.outsource.OutsourceCertificateListRequest;
import com.casic.missiles.dto.business.outsource.OutsourceCertificateListResponse;
import com.casic.missiles.model.business.BusinessOutsourceCertificate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 分包检定证书表 Mapper 接口
 * </p>
 *
 * @author wangpeng
 * @since 2023-03-23
 */
public interface BusinessOutsourceCertificateMapper extends BaseMapper<BusinessOutsourceCertificate> {

    Page<OutsourceCertificateListResponse> selectListPage(Page<OutsourceCertificateListResponse> page, @Param("request") OutsourceCertificateListRequest request);

    List<OutsourceCertificateListResponse> selectList(@Param("request") OutsourceCertificateListRequest request);

    List<OutsourceCertificateListResponse> selectListByCertificateIds(@Param("ids") List<Long> ids);
}
