package kccf.res.service.impl;

import java.util.List;

import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Repository;

import cmm.service.CmmAmsAssetMediaVO;
import cmm.service.CmmCouncilInfoVO;
import cmm.util.DataMap;
import egovframework.com.cmm.service.impl.EgovComAbstractDAO;

/**
 * Resources 관리에 대한 데이터 접근 클래스를 정의한다
 * @Class Name : ResourcesDAO.java
 * @author ecplaza 
 * @since 2018-05-11
 * @version 1.0
 * @see
 * 
 * <pre>
 * << 개정이력(Modification Information) >>
 * @
 * @ 수정일		수정자		수정내용
 * @ ---------	---------	-------------------------------
 * @ 2018-05-11	ecplaza		최초생성
 * 
 * </pre>
 */
@Repository("resourcesDAO")
public class ResourcesDAO extends EgovComAbstractDAO {
	
    @SuppressWarnings("deprecation")
    public int selectResourcesListTotCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        //return (Integer)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesListTotCnt", cmmAmsAssetMediaVO);
        return 0; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13) 
    }
    
    @SuppressWarnings("deprecation")
    public int selectResourcesListSchTotCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        //return (Integer)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesListSchTotCnt", cmmAmsAssetMediaVO);
    	return 0; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
    }
    
    @SuppressWarnings("deprecation")
    public int selectResourcesListProvideTotCnt() throws DataAccessException {
        //return (Integer)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesListProvideTotCnt");
        return 0; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
    }
    @SuppressWarnings("deprecation")
    public int selectResourcesListOpenTotCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        //return (Integer)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesListOpenTotCnt", cmmAmsAssetMediaVO);
    	return 0; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
    }
    
    @SuppressWarnings("unchecked")
    public List<CmmAmsAssetMediaVO> selectResourcesList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        return (List<CmmAmsAssetMediaVO>)list("resourcesDAO.selectResourcesList", cmmAmsAssetMediaVO);
    }    
    
    @SuppressWarnings("unchecked")
    public List<DataMap> selectCouncilList() throws DataAccessException {
        //return (List<DataMap>)list("resourcesDAO.selectCouncilList");
    	return null; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
    }  
    
	@SuppressWarnings("deprecation")
	public CmmCouncilInfoVO selectCouncilInfo(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
		//return (CmmCouncilInfoVO)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectCouncilInfo", cmmAmsAssetMediaVO);
		return null; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
	}
  
	@SuppressWarnings("unchecked")
	public List<DataMap> selectCouMainBannerList(DataMap param) throws DataAccessException {
		return (List<DataMap>)list("resourcesDAO.selectCouMainBannerList", param);
	}
	@SuppressWarnings("unchecked")
	public List<DataMap> selectCouMainResTagList(DataMap param) throws DataAccessException {
		return (List<DataMap>)list("resourcesDAO.selectCouMainResTagList", param);
	}
	@SuppressWarnings("unchecked")
    public List<CmmAmsAssetMediaVO> selectCouMainSeeResList(DataMap param) throws DataAccessException {
        return (List<CmmAmsAssetMediaVO>)list("resourcesDAO.selectCouMainSeeResList", param);
    } 
	@SuppressWarnings("unchecked")
    public List<CmmAmsAssetMediaVO> selectCouMainRecommendResList(DataMap param) throws DataAccessException {
        return (List<CmmAmsAssetMediaVO>)list("resourcesDAO.selectCouMainRecommendResList", param);
    }
	@SuppressWarnings("unchecked")
	public List<DataMap> selectCouMainBestYearList(DataMap param) throws DataAccessException {
		return (List<DataMap>)list("resourcesDAO.selectCouMainBestYearList", param);
	}
	@SuppressWarnings("unchecked")
    public List<CmmAmsAssetMediaVO> selectCouMainYearDataList(DataMap param) throws DataAccessException {
        return (List<CmmAmsAssetMediaVO>)list("resourcesDAO.selectCouMainYearDataList", param);
    }
	
	
	
	
	
    @SuppressWarnings("deprecation")
    public int selectResourcesCouListTotCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        //return (Integer)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesCouListTotCnt", cmmAmsAssetMediaVO);
        return 0; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
    }
    
    @SuppressWarnings("deprecation")
    public int selectResourcesCouListSchTotCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        //return (Integer)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesCouListSchTotCnt", cmmAmsAssetMediaVO);
    	return 0; // DDDDDDDDDDDDDD 임시 처리 (2021.08.13)
    }
    
    @SuppressWarnings("unchecked")
    public List<CmmAmsAssetMediaVO> selectResourcesCouList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
        return (List<CmmAmsAssetMediaVO>)list("resourcesDAO.selectResourcesCouList", cmmAmsAssetMediaVO);
    }    
    
//    @SuppressWarnings("deprecation")
//	public CmmAmsAssetMediaVO selectResourcesDetail(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//		return (CmmAmsAssetMediaVO)getSqlMapClientTemplate().queryForObject("resourcesDAO.selectResourcesDetail", cmmAmsAssetMediaVO);
//	}
//    
//    @SuppressWarnings("unchecked")
//    public List<CmmCmsKeywordsVO> selectResourcesKeywordsList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<CmmCmsKeywordsVO>)list("resourcesDAO.selectResourcesKeywordsList", cmmAmsAssetMediaVO);
//    }    
//    
//    @SuppressWarnings("unchecked")
//    public List<CmmCmsTagsVO> selectResourcesTagsList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<CmmCmsTagsVO>)list("resourcesDAO.selectResourcesTagsList", cmmAmsAssetMediaVO);
//    }   
//    
//    @SuppressWarnings("unchecked")
//	public List<CmmCmsVO> selectResourcesThemeList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//    	return (List<CmmCmsVO>)list("resourcesDAO.selectResourcesThemeList",cmmAmsAssetMediaVO);
//    }
//    
//    @SuppressWarnings("unchecked")
//	public List<CmmCmsVO> selectResourcesAddrList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//    	return (List<CmmCmsVO>)list("resourcesDAO.selectResourcesAddrList",cmmAmsAssetMediaVO);
//    }    
//    @SuppressWarnings("unchecked")
//	public List<CmmCouncilInfoVO> selectResourcesCouncilList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//    	return (List<CmmCouncilInfoVO>)list("resourcesDAO.selectResourcesCouncilList",cmmAmsAssetMediaVO);
//    }        
//    
//    @SuppressWarnings("unchecked")
//	public List<CmmCmsUserGroupVO> selectResourcesUserGroupList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//    	return (List<CmmCmsUserGroupVO>)list("resourcesDAO.selectResourcesUserGroupList",cmmAmsAssetMediaVO);
//    }      
//    
//    @SuppressWarnings("unchecked")
//    public List<DataMap> selectResourcesRelatedThemeList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<DataMap>)list("resourcesDAO.selectResourcesRelatedThemeList", cmmAmsAssetMediaVO);
//    }    
//    
//    @SuppressWarnings("unchecked")
//    public List<DataMap> selectResourcesRelatedLibraryList(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<DataMap>)list("resourcesDAO.selectResourcesRelatedLibraryList", cmmAmsAssetMediaVO);
//    } 
//    
//    @SuppressWarnings("unchecked")
//    public List<CmmnDetailCode> selectResourcesFilter(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<CmmnDetailCode>)list("resourcesDAO.selectResourcesFilter", cmmAmsAssetMediaVO);
//    }  
//    
//    @SuppressWarnings("unchecked")
//    public List<CmmnDetailCode> selectResourcesFilterCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<CmmnDetailCode>)list("resourcesDAO.selectResourcesFilterCnt", cmmAmsAssetMediaVO);
//    }     
//    
//    @SuppressWarnings("unchecked")
//    public List<CmmCouncilInfoVO> selectResourcesCouncilFilter(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<CmmCouncilInfoVO>)list("resourcesDAO.selectResourcesCouncilFilter", cmmAmsAssetMediaVO);
//    } 
//    
//    @SuppressWarnings("unchecked")
//    public List<CmmCouncilInfoVO> selectResourcesCouncilFilterCnt(CmmAmsAssetMediaVO cmmAmsAssetMediaVO) throws DataAccessException {
//        return (List<CmmCouncilInfoVO>)list("resourcesDAO.selectResourcesCouncilFilterCnt", cmmAmsAssetMediaVO);
//    }    
  
}
