package utis.wall.dao;


import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.collections.map.CaseInsensitiveMap;
import org.springframework.stereotype.Service;

import utis.wall.common.base.CommonBaseDao;

/**
 * @Class Name  : MainController.java
 * @Description : 메인 Controller 
 * @Modification Information  
 * 
 *  수정일			수정자		수정내용
 *  -------------	---------	-------------------------------
 *  2015. 9. 9.	YJLEE	    최초생성
 * 
 * @author YJLEE
 * @since 2015. 9. 9.
 * @version 1.0
 * @see
 * 
 *  Copyright (C) by LBCSOFT All right reserved.
 */
@Service("MainDao")
public class MainDao extends CommonBaseDao {
	
	/**
	 * List<CaseInsensitiveMap>
	 * @param paramMap
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("unchecked")
	public List<CaseInsensitiveMap> selectList(Map<String, Object> paramMap) throws Exception {
		return this.queryForList(paramMap.get("sqlId").toString(),paramMap);
	}
	
	/**
	 * List<LinkedHashMap<String, Object>> 
	 * @param paramMap
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("unchecked")
	public List<LinkedHashMap<String, Object>> selectLinkedHashMap(Map<String, Object> paramMap) throws Exception {
		return this.queryForList(paramMap.get("sqlId").toString(),paramMap);
	}
	
}
