package com.zteits.park.dao.impl;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.zteits.park.dao.ParkinglotHeatmapHourDao;
import com.zteits.park.domain.ParkinglotHeatmapHour;
import com.zteits.park.mapper.smapper.ParkinglotHeatmapHourSMapper;
/**
*
* 停车场当前停车位热力分布图-小时统计.
*
* Copyright: Copyright (c) 2017 zteits
*
* @ClassName: ParkinglotHeatmapHourDaoImpl
* @Description:
* @version: v1.0.0
* @author: xiejianpeng
* @date: 2017年7月11日 上午9:51:04
* Modification History:
* Date Author Version Description
*---------------------------------------------------------*
* 2017年7月11日 xiejianpeng v1.0.0 创建
*/
@Component
public class ParkinglotHeatmapHourDaoImpl implements ParkinglotHeatmapHourDao{
@Autowired
private ParkinglotHeatmapHourSMapper parkinglotHeatmapHourSMapper;
@Override
public Integer insertParkinglotHeatmapHourList(List record) {
return parkinglotHeatmapHourSMapper.insertParkinglotHeatmapHourList(record);
}
@Override
public List queryParkHeatmapByHour(Long provId,Long cityId, Date queryDate) {
return parkinglotHeatmapHourSMapper.queryParkHeatmapByHour(provId,cityId,queryDate);
}
@Override
public Integer deleteParkinglotHeatmapHourByheatmapTime(Date heatmapTime,Long cityId) {
return parkinglotHeatmapHourSMapper.deleteParkinglotHeatmapHourByheatmapTime(heatmapTime,cityId);
}
}