package com.starry.admin.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.starry.admin.modules.system.module.entity.SysOperationLogEntity;
import com.starry.admin.modules.system.vo.SysOperationLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 操作日志表Mapper接口
 *
 * @author admin
 */
@Mapper
public interface SysOperationLogMapper extends BaseMapper<SysOperationLogEntity> {
    /**
     * 查询操作日志表
     *
     * @param operId
     *            操作日志表主键
     * @return 操作日志表
     */
    SysOperationLogEntity selectXlOperLogByOperId(Long operId);

    /**
     * 查询操作日志表列表
     *
     * @param sysOperationLogEntity
     *            操作日志表
     * @return 操作日志表集合
     */
    IPage<SysOperationLogEntity> selectXlOperLogList(Page<SysOperationLogEntity> page,
            @Param("vo") SysOperationLogVo sysOperationLogEntity);

}
