package org.ruoyi.system.service; import org.ruoyi.common.log.event.OperLogEvent; import org.ruoyi.core.page.PageQuery; import org.ruoyi.core.page.TableDataInfo; import org.ruoyi.system.domain.bo.SysOperLogBo; import org.ruoyi.system.domain.vo.SysOperLogVo; import java.util.List; /** * 操作日志 服务层 * * @author Lion Li */ public interface ISysOperLogService { TableDataInfo selectPageOperLogList(SysOperLogBo operLog, PageQuery pageQuery); /** * 新增操作日志 * * @param bo 操作日志对象 */ void insertOperlog(SysOperLogBo bo); /** * 查询系统操作日志集合 * * @param operLog 操作日志对象 * @return 操作日志集合 */ List selectOperLogList(SysOperLogBo operLog); /** * 批量删除系统操作日志 * * @param operIds 需要删除的操作日志ID * @return 结果 */ int deleteOperLogByIds(Long[] operIds); /** * 查询操作日志详细 * * @param operId 操作ID * @return 操作日志对象 */ SysOperLogVo selectOperLogById(Long operId); /** * 清空操作日志 */ void cleanOperLog(); void recordOper(OperLogEvent operLogEvent); }