package kr.co.i4way.cst.service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import kr.co.i4way.cst.model.TrunkInfoVo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import kr.co.i4way.cst.model.RecLicenseVo;
import kr.co.i4way.mapper.mssql.MssqlMapper;
import kr.co.i4way.mapper.mssql_brd.MssqlBrdMapper;
import kr.co.i4way.mapper.tibero.TiberoMapper;

@Service
public class CstScheduleService {
    Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired
	MssqlMapper mssqlMapper;

//    @Autowired
//	MssqlBrdMapper mssqlBrdMapper;    
//    
//    @Autowired
//    TiberoMapper tiberoMapper;
	
	public ArrayList getDnCnt() throws Exception{
		return mssqlMapper.getDnCnt();
	}
	
	public ArrayList getDnCnt_Dev() throws Exception{
		return mssqlMapper.getDnCnt_Dev();
	}

	public void insertCCCUser(List<Map<String, Object>> list) throws Exception{
		mssqlMapper.insertCCCUser(list);
	}
	
	public void insertCCCGroup(List<Map<String, Object>> list) throws Exception{
		mssqlMapper.insertCCCGroup(list);
	}
	
//	public void setRecLicenseInfo(List<RecLicenseVo> arr) throws Exception{
//		mssqlBrdMapper.setRecLicenseInfo(arr);
//	}
//	
//	public void setGenesysLicenseInfo(RecLicenseVo vo) throws Exception{
//		mssqlBrdMapper.setGenesysLicenseInfo(vo);
//	}
//	
//	public void setRecLicenseInfo_Dev(List<RecLicenseVo> arr) throws Exception{
//		mssqlBrdMapper.setRecLicenseInfo_Dev(arr);
//	}
//	
//	public void setGenesysLicenseInfo_Dev(RecLicenseVo vo) throws Exception{
//		mssqlBrdMapper.setGenesysLicenseInfo_Dev(vo);
//	}
//	
//	public void setTrunkInfo(TrunkInfoVo vo) throws Exception{
//		mssqlBrdMapper.setTrunkInfo(vo);
//	}
}
