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> list, String yearAndMonth) { return historyMinutelyMapper.insertHistoryMinutely(list, yearAndMonth); } @Override public List> getMinutelySensorData(Map parameters) { return historyMinutelyMapper.getMinutelySensorData(parameters); } @Override public void createHistoryMinutelyTable(String yearAndMonth) { historyMinutelyMapper.createHistoryMinutelyTable(yearAndMonth); } }