42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.mca.map.service;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
import com.mca.cmmn.vo.BaseSearchVO;
|
|
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);
|
|
}
|
|
|
|
// 방문자수.
|
|
public int selectUseVisit(UseHistorySearchVO useHistorySearchVO) {
|
|
return useHistoryMapper.selectUseVisit(useHistorySearchVO);
|
|
}
|
|
|
|
|
|
|
|
}
|