package com.eactive.eai.rms.onl.manage.rule.upload;

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

import org.springframework.stereotype.Repository;

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

/**
 * The Class LayoutDao.
 * <ul>
 * <li>1. Function :</li>
 * <li>2. Summary :</li>
 * <li>3. Notification :</li>
 * </ul>
 */
@Repository("ioMapLoaderDao")
@SuppressWarnings("unchecked")
public class IoMapLoaderDao extends SqlMapClientTemplateDao {
	
    public int checkInterface(HashMap param) throws Exception {
    	return (Integer)template.queryForObject("IoMapLoader.checkInterface", param);
    }	
    public List<String> selectTransformListForLayout(HashMap param) throws Exception {
    	return template.queryForList("IoMapLoader.selectTransformListForLayout", param);
    }	 
    public void deleteTSEAIIL02(HashMap param) throws Exception {
    	template.delete("IoMapLoader.deleteTSEAIIL02", param);
    }	
    public void insertTSEAIIL02UPPER(HashMap param) throws Exception {
    	template.insert("IoMapLoader.insertTSEAIIL02UPPER", param);
    }	
    public List<HashMap> selectInterfaceListNonExist(HashMap param) throws Exception {
    	return template.queryForList("IoMapLoader.selectInterfaceListNonExist", param);
    }	
    public List<HashMap> selectTSEAIIL02(HashMap param) throws Exception {
    	return template.queryForList("IoMapLoader.selectTSEAIIL02", param);
    }	
    public void updateTSEAIHE02(HashMap param) throws Exception {
    	template.update("IoMapLoader.updateTSEAIHE02", param);
    }
    public void deleteAllTSEAIDC01(HashMap param) throws Exception {
    	template.delete("IoMapLoader.deleteAllTSEAIDC01", param);
    }	    
    public void insertTSEAIDC01(HashMap param) throws Exception {
    	template.insert("IoMapLoader.insertTSEAIDC01", param);
    }	
    public List<LinkedHashMap> selectInterfaceInfo(HashMap param) throws Exception {
    	return template.queryForList("IoMapLoader.selectInterfaceInfo", param);
    }	
    public List<LinkedHashMap> selectInterfaceInfoForCommonError(HashMap param) throws Exception {
    	return template.queryForList("IoMapLoader.selectInterfaceInfoForCommonError", param);
    }	

}
