package com.eactive.eai.rms.onl.manage.adapter.spcftmadapterhistory;

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

import org.springframework.stereotype.Repository;

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

@Repository
@SuppressWarnings("unchecked")
public class SpcfTmAdapterHistoryDao extends SqlMapClientTemplateDao {

    public int selectListCount(HashMap param) throws Exception {
    	return (Integer)template.queryForObject("SpcfTmAdapterHistory.selectListCount", param);
    }	
    public List selectList(HashMap param) throws Exception {
    	return template.queryForList("SpcfTmAdapterHistory.selectList", param);
    }	

    public List selectListToExcel(HashMap param) throws Exception {
    	return template.queryForList("SpcfTmAdapterHistory.selectListToExcel", param);
    }	
    public HashMap selectDetail(HashMap param) throws Exception {
    	return (HashMap)template.queryForObject("SpcfTmAdapterHistory.selectDetail", param);
    }	
    public void insert(HashMap paramMap) throws Exception{
        this.template.insert("SpcfTmAdapterHistory.insert", paramMap);
    }
    public void delete(HashMap paramMap) throws Exception{
        this.template.delete("SpcfTmAdapterHistory.delete", paramMap);
    }	


}
