IStuDepartmentService.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.ruoyi.system.service;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.ruoyi.system.domain.StuDepartment;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 科系Service接口
  8. *
  9. * @author liql
  10. * @date 2021-03-23
  11. */
  12. public interface IStuDepartmentService
  13. {
  14. /**
  15. * 查询科系
  16. *
  17. * @param id 科系ID
  18. * @return 科系
  19. */
  20. public StuDepartment selectStuDepartmentById(Long id);
  21. /**
  22. * 查询科系列表
  23. *
  24. * @param stuDepartment 科系
  25. * @return 科系集合
  26. */
  27. public List<StuDepartment> selectStuDepartmentList(StuDepartment stuDepartment);
  28. /**
  29. * 新增科系
  30. *
  31. * @param stuDepartment 科系
  32. * @return 结果
  33. */
  34. public int insertStuDepartment(StuDepartment stuDepartment);
  35. /**
  36. * 修改科系
  37. *
  38. * @param stuDepartment 科系
  39. * @return 结果
  40. */
  41. public int updateStuDepartment(StuDepartment stuDepartment);
  42. /**
  43. * 批量删除科系
  44. *
  45. * @param ids 需要删除的科系ID
  46. * @return 结果
  47. */
  48. public int deleteStuDepartmentByIds(Long[] ids);
  49. /**
  50. * 删除科系信息
  51. *
  52. * @param id 科系ID
  53. * @return 结果
  54. */
  55. public int deleteStuDepartmentById(Long id);
  56. /**
  57. * 根据学院id查询科系列表
  58. * @param collegeId
  59. * @return
  60. */
  61. public List<Map<String,Object>> queryList(Long collegeId);
  62. }