package com.ruoyi.hezhi.mapper;

import com.ruoyi.hezhi.domain.TbConferenceRegistration;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 参会报名Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-28
 */
public interface TbConferenceRegistrationMapper
{
    /**
     * 查询参会报名
     *
     * @param conferenceRegistrationId 参会报名主键
     * @return 参会报名
     */
    public TbConferenceRegistration selectTbConferenceRegistrationByConferenceRegistrationId(Long conferenceRegistrationId);

    /**
     * 查询参会报名列表
     *
     * @param tbConferenceRegistration 参会报名
     * @return 参会报名集合
     */
    public List<TbConferenceRegistration> selectTbConferenceRegistrationList(TbConferenceRegistration tbConferenceRegistration);

    /**
     * 新增参会报名
     *
     * @param tbConferenceRegistration 参会报名
     * @return 结果
     */
    public int insertTbConferenceRegistration(TbConferenceRegistration tbConferenceRegistration);

    /**
     * 修改参会报名
     *
     * @param tbConferenceRegistration 参会报名
     * @return 结果
     */
    public int updateTbConferenceRegistration(TbConferenceRegistration tbConferenceRegistration);

    /**
     * 删除参会报名
     *
     * @param conferenceRegistrationId 参会报名主键
     * @return 结果
     */
    public int deleteTbConferenceRegistrationByConferenceRegistrationId(Long conferenceRegistrationId);

    /**
     * 批量删除参会报名
     *
     * @param conferenceRegistrationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbConferenceRegistrationByConferenceRegistrationIds(Long[] conferenceRegistrationIds);

    /**
     * 查询参会报名
     *
     * @param memberUserId 用户ID
     * @param conferenceNoticeId 会议通知ID
     * @return 参会报名
     */
    public TbConferenceRegistration selectTbConferenceRegistrationBy(@Param("memberUserId") Long memberUserId, @Param("conferenceNoticeId") Long conferenceNoticeId);

}
