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

33 lines
959 B

  1. namespace SafeCampus.Application.Services.Business.ClassTeacherService;
  2. public interface IClassTeacherService:ITransient
  3. {
  4. /// <summary>
  5. /// 添加班主任
  6. /// </summary>
  7. /// <param name="input">添加参数</param>
  8. /// <returns></returns>
  9. Task<bool> Add(ClassTeacherInput input);
  10. /// <summary>
  11. /// 修改班主任
  12. /// </summary>
  13. /// <param name="input">添加参数</param>
  14. /// <returns></returns>
  15. Task<bool> Update(ClassTeacherUpdateInput input);
  16. /// <summary>
  17. /// 删除班主任
  18. /// </summary>
  19. /// <param name="id">id</param>
  20. /// <returns></returns>
  21. Task<bool> Delete(long id);
  22. /// <summary>
  23. /// 根据班级id获取班主任信息
  24. /// </summary>
  25. /// <returns></returns>
  26. Task<ClassTeacherDto> GetInfo(string personSetId);
  27. /// <summary>
  28. /// 获取列表
  29. /// </summary>
  30. /// <returns></returns>
  31. Task<List<ClassTeacherDto>> GetNoPageList();
  32. }