/* * Copyright 2008-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package itn.let.solr.sys.impl; import java.util.List; import org.springframework.stereotype.Repository; import egovframework.rte.psl.dataaccess.EgovAbstractDAO; import itn.let.solr.sys.service.ResearchVO; import itn.let.uss.ion.cnt.service.CntManageVO; /** * @Class Name : LetterManageDAO.java * @Description : LetterManageDAO DAO Class * @Modification Information * @ * @ 수정일 수정자 수정내용 * @ --------- --------- ------------------------------- * @ 2014.07.03 최초생성 * * @author (주)드림웨어 * @since 2014. 07.03 * @version 1.0 * @see * * */ @Repository("researchDAO") public class ResearchDAO extends EgovAbstractDAO { public List selectResearchList(ResearchVO searchVO) throws Exception{ return (List)list("researchDAO.selectResearchList", searchVO); } public int selectResearchListTotCnt(ResearchVO searchVO) throws Exception { return (Integer)select("researchDAO.selectResearchListTotCnt", searchVO); } public List selectResearchResult(ResearchVO searchVO) throws Exception{ return list("researchDAO.selectResearchResult", searchVO); } public ResearchVO selectResearchResultCnt(ResearchVO searchVO) throws Exception{ return (ResearchVO)select("researchDAO.selectResearchResultCnt", searchVO); } public List selectMcUrl(Integer mcIdx) throws Exception{ return list("researchDAO.selectMcUrl", mcIdx); } public void insertResearch(ResearchVO tempSearchVO) throws Exception{ insert("researchDAO.insertResearch", tempSearchVO); } public ResearchVO selectMcUrlByProFn(ResearchVO researchVO) throws Exception{ return (ResearchVO)select("researchDAO.selectMcUrlByProFn", researchVO); } public ResearchVO selectMcUrlByCntDtId(CntManageVO cntManageVO) throws Exception{ return (ResearchVO)select("researchDAO.selectMcUrlByCntDtId", cntManageVO); } }