2020-07-20 10:41:32 +08:00
|
|
|
package com.ruoyi.system.service;
|
2020-02-13 10:48:51 +08:00
|
|
|
|
2021-07-24 21:19:05 +08:00
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
2021-12-03 15:57:58 +08:00
|
|
|
import com.ruoyi.common.core.domain.PageQuery;
|
2021-05-13 21:25:51 +08:00
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
2020-07-20 10:41:32 +08:00
|
|
|
import com.ruoyi.system.domain.SysOperLog;
|
2020-02-13 10:48:51 +08:00
|
|
|
|
2021-04-12 17:02:55 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
2020-02-13 10:48:51 +08:00
|
|
|
/**
|
|
|
|
* 操作日志 服务层
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
2021-10-15 15:19:42 +08:00
|
|
|
* @author Lion Li
|
2020-02-13 10:48:51 +08:00
|
|
|
*/
|
2021-07-24 21:19:05 +08:00
|
|
|
public interface ISysOperLogService extends IService<SysOperLog> {
|
2021-05-13 21:25:51 +08:00
|
|
|
|
2021-12-03 15:57:58 +08:00
|
|
|
TableDataInfo<SysOperLog> selectPageOperLogList(SysOperLog operLog, PageQuery pageQuery);
|
2021-05-13 21:25:51 +08:00
|
|
|
|
2020-02-13 10:48:51 +08:00
|
|
|
/**
|
|
|
|
* 新增操作日志
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
2020-02-13 10:48:51 +08:00
|
|
|
* @param operLog 操作日志对象
|
|
|
|
*/
|
2021-10-15 15:19:42 +08:00
|
|
|
void insertOperlog(SysOperLog operLog);
|
2020-02-13 10:48:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询系统操作日志集合
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
2020-02-13 10:48:51 +08:00
|
|
|
* @param operLog 操作日志对象
|
|
|
|
* @return 操作日志集合
|
|
|
|
*/
|
2021-10-15 15:19:42 +08:00
|
|
|
List<SysOperLog> selectOperLogList(SysOperLog operLog);
|
2020-02-13 10:48:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 批量删除系统操作日志
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
2020-02-13 10:48:51 +08:00
|
|
|
* @param operIds 需要删除的操作日志ID
|
|
|
|
* @return 结果
|
|
|
|
*/
|
2021-10-15 15:19:42 +08:00
|
|
|
int deleteOperLogByIds(Long[] operIds);
|
2020-02-13 10:48:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 查询操作日志详细
|
2021-04-12 17:02:55 +08:00
|
|
|
*
|
2020-02-13 10:48:51 +08:00
|
|
|
* @param operId 操作ID
|
|
|
|
* @return 操作日志对象
|
|
|
|
*/
|
2021-10-15 15:19:42 +08:00
|
|
|
SysOperLog selectOperLogById(Long operId);
|
2020-02-13 10:48:51 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 清空操作日志
|
|
|
|
*/
|
2021-10-15 15:19:42 +08:00
|
|
|
void cleanOperLog();
|
2020-02-13 10:48:51 +08:00
|
|
|
}
|