package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.EmailLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.model.po.EmailLogPO;
import com.jwipc.sys.model.query.EmailLogQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统邮件日志 Mapper 接口
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-01-29
 */
public interface EmailLogMapper extends BaseMapper<EmailLog> {

    List<EmailLogPO> findPageByQuery(@Param("query") EmailLogQuery query);

    List<EmailLogPO> findPageByQuery(Page<EmailLog> dbPage, @Param("query") EmailLogQuery query);
}
