package com.mca.map.service;

import java.util.List;

import javax.annotation.Resource;

import com.mca.map.vo.ChartVO;
import org.springframework.stereotype.Service;
import com.mca.map.mapper.UseHistoryMapper;
import com.mca.map.vo.UseHistorySearchVO;

@Service("useHistoryService")
public class UseHistoryService {
	
	@Resource(name="useHistoryMapper")
	UseHistoryMapper useHistoryMapper;


	public int selectUseHistoryCnt(UseHistorySearchVO useHistorySearchVO) {
		// TODO Auto-generated method stub
		return useHistoryMapper.selectUseHistoryCnt(useHistorySearchVO);
	}

	public List<?> selectUseHistoryList(UseHistorySearchVO useHistorySearchVO) {
		// TODO Auto-generated method stub
		return useHistoryMapper.selectUseHistoryList(useHistorySearchVO);
	}

  public List<ChartVO> selectDayMapUseData(UseHistorySearchVO useHistorySearchVO) {
    return useHistoryMapper.selectDayMapUseData(useHistorySearchVO);
  }
}
