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

30 lines
1.0 KiB

  1. namespace SafeCampus.Application.Services.Business.AttendanceService;
  2. public interface IAttendanceService:ITransient
  3. {
  4. /// <summary>
  5. /// 添加考勤记录
  6. /// </summary>
  7. /// <param name="input"></param>
  8. /// <returns></returns>
  9. Task<bool> Add(AttendanceDto input);
  10. /// <summary>
  11. /// 分页获取考勤列表
  12. /// </summary>
  13. /// <param name="search"></param>
  14. /// <returns></returns>
  15. Task<SqlSugarPagedList<AttendanceList>> GetPageList(AttendanceSearch search);
  16. /// <summary>
  17. /// 不分页获取考勤列表
  18. /// </summary>
  19. /// <param name="search"></param>
  20. /// <returns></returns>
  21. Task<List<AttendanceList>> GetNoPageList(AttendanceSearch search);
  22. /// <summary>
  23. /// 根据寝室id和归寝时间获取宿舍楼的出入记录
  24. /// </summary>
  25. /// <param name="id"></param>
  26. /// <param name="returnTime"></param>
  27. /// <returns></returns>
  28. Task<SqlSugarPagedList<AttendanceList>> GetPageListByBuild(BuildAttendanceSearch search);
  29. }