IStudentManagerService.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.xjrsoft.module.student.service;
  2. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  3. import com.github.yulichang.base.MPJBaseService;
  4. import com.xjrsoft.module.student.dto.AddBaseStudentUserDto;
  5. import com.xjrsoft.module.student.dto.BaseStudentUserPageDto;
  6. import com.xjrsoft.module.student.dto.UpdateBaseStudentUserDto;
  7. import com.xjrsoft.module.student.entity.BaseStudentUser;
  8. import com.xjrsoft.module.student.vo.BaseStudentClassVo;
  9. import com.xjrsoft.module.student.vo.BaseStudentUserPageVo;
  10. import com.xjrsoft.module.student.vo.PersonalPortraitPersonalInfoVo;
  11. import org.springframework.web.multipart.MultipartFile;
  12. import java.io.IOException;
  13. import java.text.ParseException;
  14. import java.util.List;
  15. import java.util.Map;
  16. public interface IStudentManagerService extends MPJBaseService<BaseStudentUser> {
  17. /**
  18. * 新增
  19. *
  20. * @param baseStudentUser
  21. * @return
  22. */
  23. Boolean add(AddBaseStudentUserDto baseStudentUser, MultipartFile file) throws IOException;
  24. /**
  25. * 更新
  26. *
  27. * @param baseStudentUser
  28. * @return
  29. */
  30. Boolean update(UpdateBaseStudentUserDto baseStudentUser, MultipartFile file) throws IOException;
  31. /**
  32. * 删除
  33. *
  34. * @param ids
  35. * @return
  36. */
  37. Boolean delete(List<Long> ids);
  38. /**
  39. * 获取学生班级信息
  40. *
  41. * @param userId
  42. * @return
  43. */
  44. BaseStudentClassVo getStudentClass(Long userId);
  45. /**
  46. * 个人财务画像,获取学生个人信息
  47. * @param userId
  48. * @return
  49. */
  50. PersonalPortraitPersonalInfoVo getPersonalInfo(Long userId);
  51. Boolean importStudentData(List<Map<Integer, Object>> excelDataList) throws ParseException;
  52. Page<BaseStudentUserPageVo> getStudentPage(Page<BaseStudentUserPageVo> page, BaseStudentUserPageDto dto);
  53. }