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

IVisitLogService.cs 972 B

4 months ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. 
  2. //
  3. namespace SafeCampus.System;
  4. /// <summary>
  5. /// 访问日志服务
  6. /// </summary>
  7. public interface IVisitLogService : 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">查询参数</param>
  19. /// <returns>日志列表</returns>
  20. Task<SqlSugarPagedList<SysLogVisit>> Page(VisitLogPageInput input);
  21. /// <summary>
  22. /// 根统计N天来登录和登出数量
  23. /// </summary>
  24. /// <param name="day">天使</param>
  25. /// <returns>统计信息</returns>
  26. Task<List<VisitLogDayStatisticsOutput>> StatisticsByDay(int day);
  27. /// <summary>
  28. /// 统计登录登出总览
  29. /// </summary>
  30. /// <returns>登录和登出的数量</returns>
  31. Task<List<VisitLogTotalCountOutput>> TotalCount();
  32. }