Commit 3bff1ffb by 杨林龙

1.29.0版本 H5页面查询页面添加设备同步逻辑

1 parent b0baae73
......@@ -362,11 +362,11 @@ public class MonitorServiceImpl implements MonitorService {
// 获取设备类型
Integer dateDiff = -4;
Device device = deviceService.getBySn(sn);
Device device = deviceService.getDeviceOrRemote(sn, Boolean.TRUE);
if (Objects.nonNull(device) && SourceTypeEnum.SOURCE.getType().equals(device.getSource())) {
dateDiff = -6;
}
if (Objects.nonNull(gpsLocation)) {
// 获取最后一个GPS位置点的时间
String gpsTime = gpsLocation.getDateTime();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!