Commit 6f9a1f40 authored by maoying's avatar maoying

车辆数据推送更新添加时间戳,消报系统组态页面数据返回修改

parent c627bbdf
...@@ -1451,6 +1451,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -1451,6 +1451,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
carProperties.forEach(carProperty->{ carProperties.forEach(carProperty->{
if (iotDataVO.getKey().equals(carProperty.getNameKey())) { if (iotDataVO.getKey().equals(carProperty.getNameKey())) {
carProperty.setValue(iotDataVO.getValue().toString()); carProperty.setValue(iotDataVO.getValue().toString());
carProperty.setUpdateDate(new Date());
carPropertyVos.add(carPropertyToCarPropertyVo(carProperty)); carPropertyVos.add(carPropertyToCarPropertyVo(carProperty));
carIndexsList.add(carProperty); carIndexsList.add(carProperty);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment