package com.eactive.eai.rms.onl.statistics.etc.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.etc.dao.ResponseTimeTopTenDAO;

/**
 * <pre>
 * 1. 기능 : 
 * 2. 처리 개요 : 
 *     - 
 * 3. 주의사항 : 
 * </pre>
 * @author  : music75
 * @version : $Revision: 1.1 $
 * @since : rts 1.0
 * @spring.bean id="responseTimeTopTenServiceImpl" 
 * @spring.property name="responseTimeTopTenDAO" ref="responseTimeTopTenDAO"
 */
@Service("responseTimeTopTenService")
public class ResponseTimeTopTenServiceImpl
        implements ResponseTimeTopTenService {

	@Autowired
	@Qualifier("responseTimeTopTenDAO")
    private ResponseTimeTopTenDAO responseTimeTopTenDAO;

    /**
     * <pre>
     * 1. 기능 : 
     * 2. 처리 개요 : 
     *     - 
     * 3. 주의사항 : Overriden 
     * </pre>
     * @author  : music75
     * @version : $Revision: 1.1 $
     * @since : rts 1.0
     * @see com.eactive.eai.rts.biz.statistics.etc.service.ResponseTimeTopTenService#findResponseTimeTop10List(com.eactive.eai.rts.biz.statistics.eaisvcname.vo.StatisticsForm)
     * @param statisticsForm
     * @return
     */
    public List findResponseTimeTop10List(StatisticsForm statisticsForm) throws Exception {
        String msgDpstYMS = statisticsForm.getStartDate();
        return this.responseTimeTopTenDAO.findRequestTime2Second(msgDpstYMS);
    }


}
