梳理操作日志表,提交~
parent
4ab1cf1cd4
commit
7dad85a9d6
@ -1,20 +0,0 @@
|
|||||||
package com.ruoyi.common.enums;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 操作状态
|
|
||||||
*
|
|
||||||
* @author ruoyi
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public enum BusinessStatus
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* 成功
|
|
||||||
*/
|
|
||||||
SUCCESS,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 失败
|
|
||||||
*/
|
|
||||||
FAIL,
|
|
||||||
}
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
package com.ruoyi.common.enums;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 业务操作类型
|
|
||||||
*
|
|
||||||
* @author ruoyi
|
|
||||||
*/
|
|
||||||
public enum BusinessType
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* 其它
|
|
||||||
*/
|
|
||||||
OTHER,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 新增
|
|
||||||
*/
|
|
||||||
INSERT,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改
|
|
||||||
*/
|
|
||||||
UPDATE,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 删除
|
|
||||||
*/
|
|
||||||
DELETE,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 授权
|
|
||||||
*/
|
|
||||||
GRANT,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 导出
|
|
||||||
*/
|
|
||||||
EXPORT,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 导入
|
|
||||||
*/
|
|
||||||
IMPORT,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 强退
|
|
||||||
*/
|
|
||||||
FORCE,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生成代码
|
|
||||||
*/
|
|
||||||
GENCODE,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 清空数据
|
|
||||||
*/
|
|
||||||
CLEAN,
|
|
||||||
}
|
|
||||||
@ -1,24 +0,0 @@
|
|||||||
package com.ruoyi.common.enums;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 操作人类别
|
|
||||||
*
|
|
||||||
* @author ruoyi
|
|
||||||
*/
|
|
||||||
public enum OperatorType
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* 其它
|
|
||||||
*/
|
|
||||||
OTHER,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 后台用户
|
|
||||||
*/
|
|
||||||
MANAGE,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 手机端用户
|
|
||||||
*/
|
|
||||||
MOBILE
|
|
||||||
}
|
|
||||||
@ -1,48 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue