package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ConferenceRoomOrder;

/**
 * 会议室预约Mapper接口
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public interface ConferenceRoomOrderMapper 
{
    /**
     * 查询会议室预约
     * 
     * @param conferenceRoomOrderId 会议室预约主键
     * @return 会议室预约
     */
    public ConferenceRoomOrder selectConferenceRoomOrderByConferenceRoomOrderId(Long conferenceRoomOrderId);

    /**
     * 查询会议室预约列表
     * 
     * @param conferenceRoomOrder 会议室预约
     * @return 会议室预约集合
     */
    public List<ConferenceRoomOrder> selectConferenceRoomOrderList(ConferenceRoomOrder conferenceRoomOrder);
    public List<ConferenceRoomOrder> selectConferenceRoomOrderByStartTime(ConferenceRoomOrder conferenceRoomOrder);

    /**
     * 新增会议室预约
     * 
     * @param conferenceRoomOrder 会议室预约
     * @return 结果
     */
    public int insertConferenceRoomOrder(ConferenceRoomOrder conferenceRoomOrder);

    /**
     * 修改会议室预约
     * 
     * @param conferenceRoomOrder 会议室预约
     * @return 结果
     */
    public int updateConferenceRoomOrder(ConferenceRoomOrder conferenceRoomOrder);

    /**
     * 删除会议室预约
     * 
     * @param conferenceRoomOrderId 会议室预约主键
     * @return 结果
     */
    public int deleteConferenceRoomOrderByConferenceRoomOrderId(Long conferenceRoomOrderId);

    /**
     * 批量删除会议室预约
     * 
     * @param conferenceRoomOrderIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteConferenceRoomOrderByConferenceRoomOrderIds(Long[] conferenceRoomOrderIds);
}
