package com.eactive.eai.rms.common.acl.sendsmslog;

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

import org.springframework.stereotype.Repository;

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

@Repository("tranErrorSmsLogDao")
@SuppressWarnings({"deprecation","unchecked"})
public class TranErrorSmsLogDao extends SqlMapClientForMonitoringTemplateDao {

	public int selectListCount(HashMap<String, Object> paramMap) throws Exception {
		return (Integer) this.template.queryForObject("TranErrorSmsLog.selectListCount", paramMap);
	}

	public List<HashMap<String, Object>> selectList(HashMap<String, Object> paramMap) throws Exception {
		return (List<HashMap<String, Object>>) this.template.queryForList("TranErrorSmsLog.selectList", paramMap);
	}
	
	public int selectRecvTranListCount(HashMap<String, Object> paramMap) throws Exception {
		return (Integer) this.template.queryForObject("TranErrorSmsLog.selectRecvTranListCount", paramMap);
	}

	public List<HashMap<String, Object>> selectRecvTranList(HashMap<String, Object> paramMap) throws Exception {
		return (List<HashMap<String, Object>>) this.template.queryForList("TranErrorSmsLog.selectRecvTranList", paramMap);
	}
	
	public List selectListToExcel(HashMap param) throws Exception {
    	return template.queryForList("TranErrorSmsLog.selectListToExcel", param);
    }
	 
	public List selectListToExcel2(HashMap param) throws Exception {
    	return template.queryForList("TranErrorSmsLog.selectListToExcel2", param);
    }

}
