| | |
| | | import com.moral.api.utils.GetCenterPointFromListOfCoordinates; |
| | | import com.moral.constant.Constants; |
| | | import com.moral.util.DateUtils; |
| | | |
| | | import com.moral.util.PollutantUtils; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.ObjectUtils; |
| | |
| | | return resultList; |
| | | } |
| | | |
| | | @Override |
| | | public List<HistoryDaily> getValueByMacs(List<String> macs, String time) { |
| | | QueryWrapper<HistoryDaily> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.select("time", "value") |
| | | .likeRight("time", time) |
| | | .in("mac", macs); |
| | | return historyDailyMapper.selectList(queryWrapper); |
| | | } |
| | | |
| | | |
| | | } |