package com.eactive.eai.rms.bat.statistics.daily;

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

import org.springframework.stereotype.Repository;

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

@Repository("batMessageDailyDAO")
public class BatMessageDailyDAO extends SqlMapClientTemplateDao {

    /**
     * 1. 기능 : 배치 네시지별 일별 통계 리스트 조회
     * 2. 처리 개요 : 
     */
    public List<HashMap<String, Object>> selectByIntfId(HashMap<String,Object> paramMap) throws Exception{
        return this.template.queryForList("BatMessageDaily.selectByIntfIdDaily", paramMap);
    }
    
    public HashMap<String, Object> selectListCount(HashMap<String,Object> paramMap) throws Exception {
    	return (HashMap<String, Object>)template.queryForObject("BatMessageDaily.selectListCount", paramMap);
    }
}
