平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IOperateLogService.cs 1.1 KiB

4 maanden geleden
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 操作日志服务
  6. /// </summary>
  7. public interface IOperateLogService : ITransient
  8. {
  9. /// <summary>
  10. /// 根据分类删除操作日志
  11. /// </summary>
  12. /// <param name="category">分类名称</param>
  13. /// <returns></returns>
  14. Task Delete(string category);
  15. /// <summary>
  16. /// 日志详情
  17. /// </summary>
  18. /// <param name="input">id</param>
  19. /// <returns>日志详情</returns>
  20. Task<SysLogOperate> Detail(BaseIdInput input);
  21. /// <summary>
  22. /// 操作日志分页查询
  23. /// </summary>
  24. /// <param name="input">查询参数</param>
  25. /// <returns>分页列表</returns>
  26. Task<SqlSugarPagedList<SysLogOperate>> Page(OperateLogPageInput input);
  27. /// <summary>
  28. /// 操作日志周统计
  29. /// </summary>
  30. /// <param name="day">天数</param>
  31. /// <returns>统计结果</returns>
  32. Task<List<OperateLogDayStatisticsOutput>> StatisticsByDay(int day);
  33. /// <summary>
  34. /// 操作日志总览
  35. /// </summary>
  36. /// <returns>异常日志和操作日志的数量</returns>
  37. Task<List<OperateLogTotalCountOutput>> TotalCount();
  38. }