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