package com.huiju.estateagents.property.dao;

import com.huiju.estateagents.property.model.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IndexCountMapper {
	/**
	 * 获取工单统计
	 * @param orgId
	 * @return
	 */
	List<TpTicket> getTicketList(@Param("orgId") Integer orgId);
	
	Integer selectCommunityOpenDoorCount();
	
	Integer selectUnitsOpenDoorCount(Integer eventType);
	
	Integer getPublicCameraCount(@Param("orgId") Integer orgId);
	
	Integer getRemoteMonitoringCount(@Param("orgId") Integer orgId);
	
	Integer getRemoteUnitCount(@Param("orgId") Integer orgId);
	
	List<TpBillInvoiceCount> getBillInvoiceCountList(@Param("orgId") Integer orgId);
	
	List<TaUserLicenseCount> getUserLicenseCountList(@Param("orgId") Integer orgId);
	
	List<TaTemporaryLicenseCount> getTemporaryLicenseCountList(@Param("orgId") Integer orgId);
	
	Integer getRegisterUserCount(@Param("orgId") Integer orgId, @Param("roleId") Integer roleId);
	
	List<TaBriskUser> getBriskUserList(@Param("orgId") Integer orgId);
	
	Integer getAnnouncementCount(@Param("orgId") Integer orgId);
	
	Integer getActivityCount(@Param("orgId") Integer orgId);
	
	Integer getTopicCount(@Param("orgId") Integer orgId);
}
