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

import java.util.HashMap;
import java.util.List;

import org.springframework.stereotype.Repository;

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

/**
 * <pre>
 * 1. 기능 : 
 * 2. 처리 개요 : 
 *     - 
 * 3. 주의사항 : 
 * </pre>
 * @author  : 
 * @version : $Revision: 1.1 $
 * @since : rts 1.0
 * @spring.bean id="systemDailyDAO"
 * @spring.property name="dataSource" ref="dataSource"
 */
@Repository("systemDailyDAO")
public class SystemDailyDAO extends SqlMapClientTemplateDao {

    /**
     * <pre>
     * 1. 기능 : 시스템별 일별 통계 리스트 조회
     * 2. 처리 개요 : 
     *     - 
     * 3. 주의사항 : Overriden 
     * </pre>
     * @author  : 
     * @version : $Revision: 1.1 $
     * @since : rts 1.0
     * @see 
     * @param statisticsForm
     * @return
     */
    public List<HashMap<String, Object>> selectList(HashMap<String,Object> paramMap) throws Exception{
        return this.template.queryForList("SystemDaily.selectList", paramMap);
    }
    
    public HashMap<String, Object> selectListCount(HashMap param) throws Exception {
    	return (HashMap<String, Object>)template.queryForObject("SystemDaily.selectListCount", param);
    }
}
