jinpengyong
2021-02-20 1bc01b6d0c904c80dc002285654ebb542f044474
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
34
package com.moral.service.impl;
 
import java.util.List;
import java.util.Map;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.moral.mapper.HistoryMinutelyMapper;
import com.moral.service.HistoryMinutelyService;
 
@Service
public class HistoryMinutelyServiceImpl implements HistoryMinutelyService {
 
    @Resource
    private HistoryMinutelyMapper historyMinutelyMapper;
 
    @Override
    public int insertHistoryMinutely(List<Map<String, Object>> list, String yearAndMonth) {
        return historyMinutelyMapper.insertHistoryMinutely(list, yearAndMonth);
    }
 
    @Override
    public List<Map<String, Object>> getMinutelySensorData(Map<String, Object> parameters) {
        return historyMinutelyMapper.getMinutelySensorData(parameters);
    }
 
    @Override
    public void createHistoryMinutelyTable(String yearAndMonth) {
        historyMinutelyMapper.createHistoryMinutelyTable(yearAndMonth);
    }
 
}