IBaseStudentCadreService.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package com.xjrsoft.module.student.service;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.github.yulichang.base.MPJBaseService;
  4. import com.xjrsoft.module.student.dto.BaseStudentCadrePageDto;
  5. import com.xjrsoft.module.student.dto.UpdateBaseStudentCadreDto;
  6. import com.xjrsoft.module.student.entity.BaseStudentCadre;
  7. import com.xjrsoft.module.student.vo.BaseStudentCadrePageVo;
  8. import com.xjrsoft.module.student.vo.BaseStudentCadreVo;
  9. import java.util.List;
  10. /**
  11. * @title: 学生干部管理
  12. * @Author dzx
  13. * @Date: 2023-11-14
  14. * @Version 1.0
  15. */
  16. public interface IBaseStudentCadreService extends MPJBaseService<BaseStudentCadre> {
  17. IPage<BaseStudentCadrePageVo> getListPage(BaseStudentCadrePageDto dto);
  18. /**
  19. * 批量新增
  20. *
  21. * @param baseStudentCadreList
  22. * @return
  23. */
  24. Boolean addAll(List<BaseStudentCadre> baseStudentCadreList);
  25. /**
  26. * 单个新增
  27. *
  28. * @param baseStudentCadre
  29. * @return
  30. */
  31. Boolean addOne(BaseStudentCadre baseStudentCadre);
  32. /**
  33. * 修改学生干部状态(离职、复职)移动端
  34. * @param dto
  35. * @return
  36. */
  37. Boolean editMobileStatus(UpdateBaseStudentCadreDto dto);
  38. BaseStudentCadreVo getOneById(Long id);
  39. }