IHospitalDepartmentService.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.ruoyi.info.hospital.service;
  2. import com.ruoyi.info.hospital.domain.HospitalDepartment;
  3. import com.ruoyi.info.hospital.domain.vo.HospitalDepartmentVo;
  4. import com.ruoyi.info.hospital.domain.bo.HospitalDepartmentBo;
  5. import com.ruoyi.common.core.page.TableDataInfo;
  6. import com.ruoyi.common.core.domain.PageQuery;
  7. import java.util.Collection;
  8. import java.util.List;
  9. /**
  10. * 医院科室信息Service接口
  11. *
  12. * @author baifc
  13. * @date 2025-09-20
  14. */
  15. public interface IHospitalDepartmentService {
  16. /**
  17. * 查询医院科室信息分页
  18. *
  19. * @param bo 医院科室信息
  20. * @return 医院科室信息集合
  21. */
  22. TableDataInfo<HospitalDepartmentVo> queryPageList(HospitalDepartmentBo bo, PageQuery pageQuery);
  23. /**
  24. * 查询医院科室信息列表
  25. *
  26. * @param bo 医院科室信息
  27. * @return 医院科室信息集合
  28. */
  29. List<HospitalDepartmentVo> queryList(HospitalDepartmentBo bo);
  30. /**
  31. * 查询医院科室信息
  32. *
  33. * @param id 医院科室信息主键
  34. * @return 医院科室信息
  35. */
  36. HospitalDepartmentVo queryById(Long id);
  37. /**
  38. * 详情医院科室信息
  39. *
  40. * @param id 医院科室信息主键
  41. * @return 医院科室信息
  42. */
  43. HospitalDepartment loadById(Long id, Boolean tw);
  44. /**
  45. * 新增医院科室信息
  46. *
  47. * @param bo 医院科室信息
  48. * @return 结果
  49. */
  50. Boolean insertByBo(HospitalDepartmentBo bo);
  51. /**
  52. * 修改医院科室信息
  53. *
  54. * @param bo 医院科室信息
  55. * @return 结果
  56. */
  57. Boolean updateByBo(HospitalDepartmentBo bo);
  58. /**
  59. * 校验并批量删除医院科室信息信息
  60. *
  61. * @param ids 需要删除的医院科室信息主键集合
  62. * @param isValid 是否校验,true-删除前校验,false-不校验
  63. * @return 结果
  64. */
  65. Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
  66. }