package com.eactive.eai.rms.bat.manage.comm.bizDist;

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("bizDistDao")
public class BizDistDao extends SqlMapClientTemplateDao {


    @SuppressWarnings({ "deprecation", "rawtypes" })
	public int selectListCount(HashMap param) throws Exception {
    	return (Integer)template.queryForObject("bizDist.selectListCount", param);
    }	
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public List selectList(HashMap param) throws Exception {
    	return template.queryForList("bizDist.selectList", param);
    }	
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public HashMap selectDetail(HashMap param) throws Exception {
    	return (HashMap)template.queryForObject("bizDist.selectDetail", param);
    }	
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public void insert(HashMap paramMap) throws Exception{
        this.template.insert("bizDist.insert", paramMap);
    }      
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public void update(HashMap paramMap) throws Exception{
        this.template.update("bizDist.update", paramMap);
    }      
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public void delete(HashMap paramMap) throws Exception{
        this.template.delete("bizDist.delete", paramMap);
    }
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public void insertIqms(HashMap paramMap) throws Exception{
        this.template.insert("bizDist.insertIqms", paramMap);
    }      
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public void updateIqms(HashMap paramMap) throws Exception{
        this.template.update("bizDist.updateIqms", paramMap);
    }  
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public int selectCount(HashMap param) throws Exception {
    	return (Integer)template.queryForObject("bizDist.selectCount", param);
    }	
    @SuppressWarnings({ "deprecation", "rawtypes" })
    public List selectBizCodeList(HashMap param) throws Exception {
    	return template.queryForList("bizDist.selectBizCodeList", param);
    }	
}
