package com.jwipc.sys.mapper;

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

import java.util.List;

/**
 * <p>
 * 系统审计日志表 Mapper 接口
 * </p>
 *
 * @author qzc
 * @since 2025-11-20
 */
public interface AuditLogMapper extends BaseMapper<AuditLog> {

    List<AuditLogPO> findPageByQuery(@Param("query") AuditLogQuery query);

    List<AuditLogPO> findPageByQuery(Page<AuditLog> dbPage, @Param("query") AuditLogQuery query);

}
