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);
|
}
|
|
}
|