package com.eactive.eai.rms.onl.manage.sna.luinfo;

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

import org.springframework.stereotype.Repository;

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


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

    public int selectListCount(HashMap param) throws Exception {
    	return (Integer)template.queryForObject("LuInfo.selectListCount", param);
    }	
    public List selectList(HashMap param) throws Exception {
    	return template.queryForList("LuInfo.selectList", param);
    }
	
    public HashMap selectDetail(HashMap param) throws Exception {
    	return (HashMap)template.queryForObject("LuInfo.selectDetail", param);
    }	
    
    public void insert(HashMap paramMap) throws Exception{
        this.template.insert("LuInfo.insert", paramMap);
    }      
    public void update(HashMap paramMap) throws Exception{
        this.template.update("LuInfo.update", paramMap);
    }      
    public void delete(HashMap paramMap) throws Exception{
        this.template.delete("LuInfo.delete", paramMap);
    }
    
    public int selectDuplChk(HashMap param) throws Exception {
    	return (Integer)template.queryForObject("LuInfo.selectDuplChk", param);
    }	
    
    public List selectListToExcel(HashMap param) throws Exception {
    	return template.queryForList("LuInfo.selectListToExcel", param);
    }

}
