xufenglei
2017-11-27 5bb340081d5b584000e4a932a959233077293b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.moral.mapper;
 
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> {
 
    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);
 
    Map<String, Double> getDayAQIByDevice(Map<String, Object> parameters);
 
    List<Map<String, Object>> getAverageByAll(Map<String, Object> parameters);
 
}