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.ParkinglotHeatmapDayDao;
import com.zteits.park.domain.ParkinglotHeatmapDay;
import com.zteits.park.mapper.smapper.ParkinglotHeatmapDaySMapper;
/**
*
* 停车场当前停车位热力分布图-天统计.
*
* Copyright: Copyright (c) 2017 zteits
*
* @ClassName: ParkinglotHeatmapDayDaoImpl
* @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 ParkinglotHeatmapDayDaoImpl implements ParkinglotHeatmapDayDao{
@Autowired
private ParkinglotHeatmapDaySMapper parkinglotHeatmapDaySMapper;
@Override
public Integer insertParkinglotHeatmapDayList(Date heatmapTime) {
return parkinglotHeatmapDaySMapper.insertParkinglotHeatmapDayList(heatmapTime);
}
@Override
public List queryParkHeatmapByDay(Long provId,Long cityId, Date queryDate) {
return parkinglotHeatmapDaySMapper.queryParkHeatmapByDay(provId,cityId,queryDate);
}
@Override
public Integer deleteParkinglotHeatmapDayByheatmapTime(Date heatmapTime) {
return parkinglotHeatmapDaySMapper.deleteParkinglotHeatmapDayByheatmapTime(heatmapTime);
}
}