| | |
| | | package com.moral.mapper;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | |
|
| | | import org.apache.ibatis.annotations.Mapper;
|
| | |
|
| | | import com.moral.entity.History;
|
| | | import com.moral.entity.HistoryExample;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | @Mapper
|
| | | public interface HistoryMapper extends BaseMapper<History, HistoryExample, Integer> {
|
| | | public interface HistoryMapper{
|
| | | String selectValueByMacAndTime(@Param("mac")String mac, @Param("time")Date time);
|
| | | List<Map<String, Object>> getAreaAllDataByAccount(Map<String, Object> parameters);
|
| | |
|
| | | int countByExample(HistoryExample example);
|
| | | List<Map<String, Object>> getRegionRankingData(Map<String, Object> parameters);
|
| | |
|
| | | int deleteByExample(HistoryExample example);
|
| | | List<String> selectNextLevelRegion(Map<String, Object> parameters);
|
| | |
|
| | | int insert(History record);
|
| | | List<Map<String, Object>> getDischargeByRegion(Map<String, Object> parameters);
|
| | | |
| | | List<Map<String, Object>> getValueByMacAndSize(Map<String, Object> parameters);
|
| | |
|
| | | int insertSelective(History record);
|
| | | Map<String, Object> getActualDataByRegion(Map<String, Object> parameters);
|
| | | |
| | | Map<String, Object> getAVGValueByMacAndTimeslot(@Param("mac")String mac, @Param("starttime")String starttime, @Param("endtime")String endtime);
|
| | |
|
| | | List<History> selectByExample(HistoryExample example);
|
| | | List<Map<String, Object>> getSensorDataToday(Map<String, Object> parameters);
|
| | | |
| | | List<Map<String, Object>> getAVGSensorRankByMonitorPointIdList(@Param("sensor")String sensor, @Param("monitorPointIdList") List<Object> monitorPointIdList, @Param("before5Time")String before5Time, @Param("endTime")String endTime);
|
| | | |
| | | Map<String, Object> getMonitorPointAVGValueByMonitorPointIdAndTimeslot(@Param("monitor_point_id")String monitor_point_id, @Param("starttime")String starttime, @Param("endtime")String endtime);
|
| | |
|
| | | int updateByExampleSelective(@Param("record") History record, @Param("example") HistoryExample example);
|
| | | List<Map<String, Object>> getCarSensorData(Map<String, Object> parameters);
|
| | |
|
| | | int updateByExample(@Param("record") History record, @Param("example") HistoryExample example);
|
| | | List<Map<String, Object>> getUavSensorData(Map<String, Object> parameters);
|
| | |
|
| | | Map<String, Double> getDayAQIByDevice(Map<String, Object> parameters);
|
| | | List<Map<String, Object>> listGetSensorData(Map<String, Object> parameters);
|
| | |
|
| | | List<Map<String, Object>> getAverageByAll(Map<String, Object> parameters);
|
| | | //获取臭氧平缓平均值
|
| | | List<Map<String, Object>> getO3AVG(Map<String, Object> parameters);
|
| | |
|
| | | int getNum(@Param("timef") String timef,
|
| | | @Param("timea") String timea);
|
| | | } |