package com.xinelu.manage.mapper.nursestationlabel;

import com.xinelu.manage.domain.nursestationlabel.NurseStationLabel;
import com.xinelu.manage.vo.nursestation.NurseStationLabelVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 护理站标签信息Mapper接口
 *
 * @author 纪寒
 * @date 2022-09-05
 */
public interface NurseStationLabelMapper {
    /**
     * 查询护理站标签信息
     *
     * @param id 护理站标签信息主键
     * @return 护理站标签信息
     */
    NurseStationLabel selectNurseStationLabelById(Long id);

    /**
     * 查询护理站标签信息列表
     *
     * @param nurseStationLabel 护理站标签信息
     * @return 护理站标签信息集合
     */
    List<NurseStationLabel> selectNurseStationLabelList(NurseStationLabel nurseStationLabel);

    /**
     * 新增护理站标签信息
     *
     * @param nurseStationLabel 护理站标签信息
     * @return 结果
     */
    int insertNurseStationLabel(NurseStationLabel nurseStationLabel);

    /**
     * 修改护理站标签信息
     *
     * @param nurseStationLabel 护理站标签信息
     * @return 结果
     */
    int updateNurseStationLabel(NurseStationLabel nurseStationLabel);

    /**
     * 删除护理站标签信息
     *
     * @param id 护理站标签信息主键
     * @return 结果
     */
    int deleteNurseStationLabelById(Long id);

    /**
     * 批量删除护理站标签信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteNurseStationLabelByIds(Long[] ids);

    /**
     * 根据护理站id 查询护理站标签信息
     *
     * @param nurseStationId 护理站id
     * @return int
     **/
    int getNurseStationLabelStationId(Long nurseStationId);

    /**
     * 根据护理站id 删除护理站标签信息
     *
     * @param nurseStationId 护理站id
     * @return int
     **/
    int deleteNurseStationLabelStationId(Long nurseStationId);

    /**
     * 批量新增护理站标签信息
     *
     * @param nurseStationLabelList 护理站标签信息集合
     * @return 结果
     */
    int insertBatchNurseStationLabel(@Param("nurseStationLabelList") List<NurseStationLabelVO> nurseStationLabelList);
}
