package com.eactive.eai.rms.onl.statistics.eaisvcname.daily;

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

import org.springframework.stereotype.Repository;

import com.eactive.eai.rms.common.base.SqlMapClientTemplateDao;

@SuppressWarnings({ "unchecked", "deprecation" })
@Repository("eaiSvcNameDailyDAO")
public class EaiSvcNameDailyDAO extends SqlMapClientTemplateDao {

	public List<Map<String, Object>> selectByEaiSvcNameDaily(Map<String, Object> paramMap) {
		return this.template.queryForList("EaiSvcNameDaily.selectByEaiSvcNameDaily", paramMap);
	}

	public Map<String, Object> selectListCount(Map<String, Object> param) {
		return (Map<String, Object>) template.queryForObject("EaiSvcNameDaily.selectListCount", param);
	}
	
	public List<Map<String, Object>> selectByEaiSvcNameDailySituation(Map<String, Object> paramMap) {
		return this.template.queryForList("EaiSvcNameDaily.selectByEaiSvcNameDailySituation", paramMap);
	}

	public Map<String, Object> selectSituationCount(Map<String, Object> param) {
		return (Map<String, Object>) template.queryForObject("EaiSvcNameDaily.selectDailySituationCount", param);
	}
	
}
