package com.eactive.eai.rms.bap.statistics.eaibzwkdstcd.daily;

import java.util.HashMap;
import java.util.List;

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

/**
 * 1. 기능 : 
 * 2. 처리 개요 : 
 */
@Service("bapMessageDailyService")
public class BapMessageDailyService {
	@Autowired
	@Qualifier("bapMessageDailyDAO")
    private BapMessageDailyDAO dao = null;
    
    public HashMap<String, Object> selectByIntfId(HashMap<String,Object> param) throws Exception{
    	HashMap<String, Object> totalMap = dao.selectListCount(param);
    	
    	List<HashMap<String, Object>> list = dao.selectByIntfId(param);
    			
    	HashMap<String, Object> map = new HashMap<String, Object>();
    	
		map.put("totalSum", totalMap);
		map.put("list", list);
		
        return map;
    }

}
