package com.hotent.portal.persistence.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotent.portal.model.PortalMeetingApply;

/**
 * 会议室申请 Mapper 接口
 *
 * @company 广州宏天软件股份有限公司
 * @author zhangxw
 * @email zhangxw@jee-soft.cn
 * @since 2021-06-25
 */
public interface PortalMeetingApplyDao extends BaseMapper<PortalMeetingApply> {
	
	/**
	 * 根据实例id获取会议申请数据
	 * @param instId
	 * @return
	 */
	PortalMeetingApply getByInstId(String instId);
	
	/**
	 * 统计会议室申请数量
	 * @param ownerId
	 * @param roomId
	 * @return
	 */
	List getApplyCount(@Param("ownerId")String ownerId,@Param("roomId")String roomId);
}
