package com.xinelu.manage.mapper.hospitalpersoncertificate;

import com.xinelu.manage.dto.hospitalpersoncertificate.HospitalPersonCertificateDTO;
import com.xinelu.manage.domain.hospitalpersoncertificate.HospitalPersonCertificate;
import com.xinelu.manage.vo.hospitalpersoncertificate.HospitalPersonCertificateVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;


/**
 * 健康咨询-科室人员资质证书信息Mapper接口
 *
 * @author xinyilu
 * @date 2023-02-23
 */
public interface HospitalPersonCertificateMapper {
    /**
     * 查询健康咨询-科室人员资质证书信息
     *
     * @param id 健康咨询-科室人员资质证书信息主键
     * @return 健康咨询-科室人员资质证书信息
     */
    List<HospitalPersonCertificateVO> selectHospitalPersonCertificateById(Long id);

    /**
     * 查询健康咨询-科室人员资质证书信息列表
     *
     * @param hospitalPersonCertificate 健康咨询-科室人员资质证书信息
     * @return 健康咨询-科室人员资质证书信息集合
     */
    List<HospitalPersonCertificateVO> selectHospitalPersonCertificateList(HospitalPersonCertificateDTO hospitalPersonCertificate);

    /**
     * 新增健康咨询-科室人员资质证书信息
     *
     * @param hospitalPersonCertificate 健康咨询-科室人员资质证书信息
     * @return 结果
     */
    int insertHospitalPersonCertificate(HospitalPersonCertificate hospitalPersonCertificate);

    /**
     * 修改健康咨询-科室人员资质证书信息
     *
     * @param hospitalPersonCertificate 健康咨询-科室人员资质证书信息
     * @return 结果
     */
    int updateHospitalPersonCertificate(HospitalPersonCertificate hospitalPersonCertificate);

    /**
     * 删除健康咨询-科室人员资质证书信息
     *
     * @param id 健康咨询-科室人员资质证书信息主键
     * @return 结果
     */
    int deleteHospitalPersonCertificateById(Long id);

    /**
     * 批量删除健康咨询-科室人员资质证书信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteHospitalPersonCertificateByIds(Long[] ids);

    /**
     * 批量新增健康咨询-科室人员资质证书信息
     *
     * @param hospitalPersonCertificateList 科室人员资质证书信息
     * @return int
     **/
    int insertHospitalPersonCertificateList(List<HospitalPersonCertificate> hospitalPersonCertificateList);

    /**
     * 根据科室人员id查询科室人员资质证书信息
     *
     * @param hospitalPersonIdsList 科室人员资质证书信息
     * @return int
     **/
    List<HospitalPersonCertificate> selectHospitalPersonCertificateByIds(@Param("hospitalPersonIdsList") List<Long> hospitalPersonIdsList);

    /**
     * 根据科室人员表id删除证书信息
     *
     * @param hospitalPersonIds 科室人员表id集合
     * @return 结果
     */
    int deletePersonCertificateByPersonIds(Long[] hospitalPersonIds);
}
