package com.red.circle.console.infra.database.rds.dao.admin;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.red.circle.console.infra.database.rds.dto.admin.OperationLogDTO;
import com.red.circle.console.infra.database.rds.entity.admin.OperationLog;
import com.red.circle.console.infra.database.rds.entity.admin.query.OperationLogQuery;
import com.red.circle.framework.mybatis.dao.BaseDAO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统操作日志记录 Mapper 接口.
 * </p>
 *
 * @author pengliang on 2019-05-26
 */
public interface OperationLogDAO extends BaseDAO<OperationLog> {

  /**
   * 获取系统操作日志分页列表.
   */
  IPage<OperationLogDTO> findList(IPage<OperationLog> page,
      @Param("query") OperationLogQuery query);

}
