平安校园
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

45 righe
972 B

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