package com.palmnest.dao.estateserve;

import java.util.List;
import java.util.Map;

import com.palmnest.dao.GenericDao;

/**
 * 统计服务底层Dao接口
 *
 * @author yubing
 * @since 2017-08-10
 */
public interface CountServerDao extends GenericDao<Object, Integer> {

	/**
	 * 统计每个项目每个月的充值业绩
	 *
	 * @param organizationId
	 * @param month
	 * @param keyWords
	 * @return
	 */
	public List<Map<String, Object>> querySumRechargeGain(
			String organizationId, String month, String keyWords);

	/**
	 * 统计每个项目的粉丝总数
	 *
	 * @return
	 */
	public List<Map<String, Object>> queryCountOrganizationFans(String organizationId, String keyWords);


	/**
	 * 按项目编码统计每个月的充值业绩
	 *
	 * @param organizationId
	 * @param month
	 * @param keyWords
	 * @return
	 */
	public List<Map<String, Object>> queryCountOrganizationCodeChargeGain(String organizationId, String month, String keyWords);

}
