package com.casic.missiles.mapper.meter;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.casic.missiles.dto.meter.MeterCertificateDto;
import com.casic.missiles.dto.meter.MeterCertificateImport;
import com.casic.missiles.dto.meter.MeterStaffImport;
import com.casic.missiles.dto.meter.MeterStaffRequest;
import com.casic.missiles.model.meter.MeterCertificate;
import com.casic.missiles.model.meter.MeterCertificateExpireMessage;
import com.casic.missiles.model.workbench.WorkbenchRemindMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeterCertificateMapper  extends BaseMapper<MeterCertificate> {

    Page<MeterCertificateDto> queryCertificateList(Page<MeterCertificateDto> page, @Param("request")MeterStaffRequest meterStaffRequest);

    List<MeterCertificateDto> queryCertificateList(@Param("request")MeterStaffRequest meterStaffRequest);

    List<WorkbenchRemindMessage> queryReminderList();

    void addCertificateList(@Param("list")List<MeterStaffImport> list);

    void addCertificate(@Param("list")List<MeterCertificateImport> list);
}
