package com.eactive.eai.rms.onl.tracking.service;

import java.util.ArrayList;
import java.util.HashMap;

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.tracking.dao.DbTrackingChartDao;
import com.eactive.eai.rms.onl.tracking.vo.DbTrackingChartVo;

@Service("dbTrackingChartService")
public class DbTrackingChartService {

    @Autowired
    @Qualifier("dbTrackingChartDao")
    private DbTrackingChartDao dbTrackingChartDao;	
    
	public ArrayList<DbTrackingChartVo> getTransChartList(String eaiTranName) throws Exception {
        return (ArrayList<DbTrackingChartVo>) dbTrackingChartDao.getTransChartList(eaiTranName);
	}
	
	public ArrayList<HashMap<String, String>> getEAITranList(String eaiTranName, String eaiBzwkDstcd) throws Exception {
        return (ArrayList<HashMap<String, String>>) dbTrackingChartDao.getEAITranList(eaiTranName, eaiBzwkDstcd);
	}
}
