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.print.CertificateListRequest;
import com.casic.missiles.dto.business.print.CertificateListResponse;
import com.casic.missiles.dto.business.print.CertificatePrintDetail;
import com.casic.missiles.model.business.BusinessCertificatePrint;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cz
 * @since 2023-03-14
 */
public interface BusinessCertificatePrintMapper extends BaseMapper<BusinessCertificatePrint> {

    Page<CertificateListResponse> selectBatchForApprovalList(@Param("page")Page<CertificateListResponse> page, @Param("request") CertificateListRequest request, @Param("businessKey") List<String> businessKey);

    CertificatePrintDetail selectPrintDetailById(@Param("id") Long id);

    List<Map<String,String >> getMeterStaffList();


}
