平安校园
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.
 
 
 
 
 
 

52 rivejä
1.1 KiB

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