package com.xinelu.manage.mapper.nursestationpersoncertificate;


import com.xinelu.manage.domain.nursestationpersoncertificate.NurseStationPersonCertificate;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 护理员证书资质信息Mapper接口
 *
 * @author xinyilu
 * @date 2023-03-29
 */
public interface NurseStationPersonCertificateMapper {
    /**
     * 查询护理员证书资质信息
     *
     * @param id 护理员证书资质信息主键
     * @return 护理员证书资质信息
     */
    NurseStationPersonCertificate selectNurseStationPersonCertificateById(Long id);

    /**
     * 查询护理员证书资质信息列表
     *
     * @param nurseStationPersonCertificate 护理员证书资质信息
     * @return 护理员证书资质信息集合
     */
    List<NurseStationPersonCertificate> selectNurseStationPersonCertificateList(NurseStationPersonCertificate nurseStationPersonCertificate);

    /**
     * 新增护理员证书资质信息
     *
     * @param nurseStationPersonCertificate 护理员证书资质信息
     * @return 结果
     */
    int insertNurseStationPersonCertificate(NurseStationPersonCertificate nurseStationPersonCertificate);

    /**
     * 修改护理员证书资质信息
     *
     * @param nurseStationPersonCertificate 护理员证书资质信息
     * @return 结果
     */
    int updateNurseStationPersonCertificate(NurseStationPersonCertificate nurseStationPersonCertificate);

    /**
     * 删除护理员证书资质信息
     *
     * @param id 护理员证书资质信息主键
     * @return 结果
     */
    int deleteNurseStationPersonCertificateById(Long id);

    /**
     * 批量删除护理员证书资质信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteNurseStationPersonCertificateByIds(Long[] ids);

    /**
     * 批量新增护理员证书资质信息表
     *
     * @param nurseStationPersonCertificateList 护理员证书资质信息表
     * @return int
     **/
    int insertNurseStationPersonCertificateList(List<NurseStationPersonCertificate> nurseStationPersonCertificateList);

    /**
     * 根据护理员id查询护理员证书资质信息表
     *
     * @param nurseStationPersonIdsList 护理员证书资质信息表
     * @return int
     **/
    List<NurseStationPersonCertificate> selectNurseStationPersonCertificateByIds(@Param("nurseStationPersonIdsList") List<Long> nurseStationPersonIdsList);

    /**
     * 根据护理员证书资质信息表id删除证书信息
     *
     * @param nurseStationPersonIds 护理员证书资质信息表id集合
     * @return 结果
     */
    int deleteNurseStationPersonCertificateByPersonIds(Long[] nurseStationPersonIds);
}