| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- package com.ruoyi.info.hospital.service;
- import com.ruoyi.info.hospital.domain.HospitalDepartment;
- import com.ruoyi.info.hospital.domain.vo.HospitalDepartmentVo;
- import com.ruoyi.info.hospital.domain.bo.HospitalDepartmentBo;
- import com.ruoyi.common.core.page.TableDataInfo;
- import com.ruoyi.common.core.domain.PageQuery;
- import java.util.Collection;
- import java.util.List;
- /**
- * 医院科室信息Service接口
- *
- * @author baifc
- * @date 2025-09-20
- */
- public interface IHospitalDepartmentService {
- /**
- * 查询医院科室信息分页
- *
- * @param bo 医院科室信息
- * @return 医院科室信息集合
- */
- TableDataInfo<HospitalDepartmentVo> queryPageList(HospitalDepartmentBo bo, PageQuery pageQuery);
- /**
- * 查询医院科室信息列表
- *
- * @param bo 医院科室信息
- * @return 医院科室信息集合
- */
- List<HospitalDepartmentVo> queryList(HospitalDepartmentBo bo);
- /**
- * 查询医院科室信息
- *
- * @param id 医院科室信息主键
- * @return 医院科室信息
- */
- HospitalDepartmentVo queryById(Long id);
- /**
- * 详情医院科室信息
- *
- * @param id 医院科室信息主键
- * @return 医院科室信息
- */
- HospitalDepartment loadById(Long id, Boolean tw);
- /**
- * 新增医院科室信息
- *
- * @param bo 医院科室信息
- * @return 结果
- */
- Boolean insertByBo(HospitalDepartmentBo bo);
- /**
- * 修改医院科室信息
- *
- * @param bo 医院科室信息
- * @return 结果
- */
- Boolean updateByBo(HospitalDepartmentBo bo);
- /**
- * 校验并批量删除医院科室信息信息
- *
- * @param ids 需要删除的医院科室信息主键集合
- * @param isValid 是否校验,true-删除前校验,false-不校验
- * @return 结果
- */
- Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
- }
|