package com.eactive.eai.rms.onl.statistics.intfacptrncd.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.eactive.eai.rms.onl.statistics.eaisvcname.vo.StatisticsForm;
import com.eactive.eai.rms.onl.statistics.intfacptrncd.dao.IntfacPtrnCdYearlyDAO;

/**
 * <pre>
 * 1. 기능 : 
 * 2. 처리 개요 : 
 *     - 
 * 3. 주의사항 : 
 * </pre>
 * @author  : music75
 * @version : $Revision: 1.1 $
 * @since : rts 1.0
 * @spring.bean id="intfacPtrnCdYearlyServiceImpl"
 * @spring.property name="intfacPtrnCdYearlyDAO" ref="intfacPtrnCdYearlyDAO"
 */

@Service("intfacPtrnCdYearlyService")
public class IntfacPtrnCdYearlyServiceImpl
        implements IntfacPtrnCdYearlyService {
	
    @Autowired
    @Qualifier("intfacPtrnCdYearlyDAO")
    private IntfacPtrnCdYearlyDAO intfacPtrnCdYearlyDAO = null;

    public List getFindYearlyData(StatisticsForm statisticsForm) throws Exception {
        return intfacPtrnCdYearlyDAO.findByIntfacPtrnCdYearly(statisticsForm);
    }

    public List getFindYearlyDataObject2_1(StatisticsForm statisticsForm) throws Exception{
        return intfacPtrnCdYearlyDAO.findByIntfacPtrnCdYearlyObject2_1(statisticsForm);
    }

    public List getFindYearlyDataObject2_2(StatisticsForm statisticsForm) throws Exception{
        return intfacPtrnCdYearlyDAO.findByIntfacPtrnCdYearlyObject2_2(statisticsForm);
    }

    public void setIntfacPtrnCdYearlyDAO(IntfacPtrnCdYearlyDAO intfacPtrnCdYearlyDAO) {
        this.intfacPtrnCdYearlyDAO = intfacPtrnCdYearlyDAO;
    }
}
