| | |
| | |
|
| | | 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> {
|
| | |
|
| | | int countByExample(HistoryExample example);
|
| | |
|
| | | int deleteByExample(HistoryExample example);
|
| | |
|
| | | int insert(History record);
|
| | |
|
| | | int insertSelective(History record);
|
| | |
|
| | | List<History> selectByExample(HistoryExample example);
|
| | |
|
| | | int updateByExampleSelective(@Param("record") History record, @Param("example") HistoryExample example);
|
| | |
|
| | | int updateByExample(@Param("record") History record, @Param("example") HistoryExample example);
|
| | | public interface HistoryMapper{
|
| | |
|
| | | Map<String, Double> getDayAQIByDevice(Map<String, Object> parameters);
|
| | |
|
| | | List<Map<String, Object>> getAverageByAll(Map<String, Object> parameters);
|
| | | Map<String, Object> getAllSensorAverageByDevice(Map<String, Object> parameters);
|
| | |
|
| | | List<Map<String, Object>> getSensorsAverageByDevice4Report(Map<String, Object> parameters);
|
| | |
|
| | | List<Map<String, Object>> getAreaAllDataByAccount(Map<String, Object> parameters);
|
| | |
|
| | | } |