修复国标级联推送位置新

This commit is contained in:
lin
2025-03-20 09:56:35 +08:00
parent ec74488b4a
commit b2072073a9
5 changed files with 9 additions and 4 deletions

View File

@@ -565,6 +565,7 @@ public class PlatformServiceImpl implements IPlatformService {
gpsMsgInfo = null;
}
if (gpsMsgInfo == null && !userSetting.isSendPositionOnDemand()){
gpsMsgInfo = new GPSMsgInfo();
gpsMsgInfo.setId(channel.getGbDeviceId());
@@ -573,7 +574,7 @@ public class PlatformServiceImpl implements IPlatformService {
gpsMsgInfo.setAltitude(channel.getGpsAltitude());
gpsMsgInfo.setSpeed(channel.getGpsSpeed());
gpsMsgInfo.setDirection(channel.getGpsDirection());
gpsMsgInfo.setTime(channel.getGbGpsTime());
gpsMsgInfo.setTime(channel.getGpsTime());
}
// 无最新位置不发送