| | |
| | | import com.moral.api.service.DeviceService; |
| | | import com.moral.api.service.HistorySecondCruiserService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.moral.api.service.SpecialDeviceService; |
| | | import com.moral.constant.Constants; |
| | | import com.moral.constant.RedisConstants; |
| | | import com.moral.util.DateUtils; |
| | |
| | | private HistorySecondCruiserMapper historySecondCruiserMapper; |
| | | |
| | | @Autowired |
| | | private DeviceService deviceService; |
| | | private SpecialDeviceService specialDeviceService; |
| | | |
| | | @Autowired |
| | | private RedisTemplate redisTemplate; |
| | |
| | | }).collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)); |
| | | |
| | | //数据校准 |
| | | data = deviceService.adjustSpecialDeviceData(data); |
| | | data = specialDeviceService.adjustSpecialDeviceData(data); |
| | | |
| | | HistorySecondCruiser historySecondCruiser = new HistorySecondCruiser(); |
| | | historySecondCruiser.setMac(mac); |