|
|
|
@ -80,7 +80,7 @@ public class CarInfoTask { |
|
|
|
JSONObject json = JSON.parseObject(allCarData); |
|
|
|
JSONObject json = JSON.parseObject(allCarData); |
|
|
|
String carNo = CarInfoCache.getPushCarNo(); |
|
|
|
String carNo = CarInfoCache.getPushCarNo(); |
|
|
|
Map<String, Object> resultMap = new HashMap<>(); |
|
|
|
Map<String, Object> resultMap = new HashMap<>(); |
|
|
|
if (Func.isEmpty(info)) { |
|
|
|
if (Func.isEmpty(carNo)) { |
|
|
|
message.setContent(JSON.toJSONString(initMap(resultMap))); |
|
|
|
message.setContent(JSON.toJSONString(initMap(resultMap))); |
|
|
|
websocketService.broadcast(message); |
|
|
|
websocketService.broadcast(message); |
|
|
|
return; |
|
|
|
return; |
|
|
|
|