package com.eactive.eai.rms.onl.manage.comm.sysdomain;

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

import org.springframework.stereotype.Repository;

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

/**
 * 오류코드 관련 Dao 클래스입니다.
 * 
 * @author  : $Author: 박기섭 $
 * @version : $Revision: 1.2 $
 */
@Repository("sysDomainDao")
@SuppressWarnings("unchecked")
public class SysDomainDao extends SqlMapClientTemplateDao {


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

    public void insert(HashMap paramMap) throws Exception{
        this.template.insert("SysDomain.insert", paramMap);
    }      
    public void update(HashMap paramMap) throws Exception{
        this.template.update("SysDomain.update", paramMap);
    }      
    public void delete(HashMap paramMap) throws Exception{
        this.template.delete("SysDomain.delete", paramMap);
    }
   
    
    
}
