Commit 602e808b by 毛树良

<fix>:优化

1 parent 9dc7dbf0
...@@ -330,7 +330,9 @@ public class TrafficDataConvertHandler { ...@@ -330,7 +330,9 @@ public class TrafficDataConvertHandler {
if (DataCacheScheduled.deviceTollgateMap.containsKey(deviceID)) { if (DataCacheScheduled.deviceTollgateMap.containsKey(deviceID)) {
tollgateID = DataCacheScheduled.deviceTollgateMap.get(deviceID); tollgateID = DataCacheScheduled.deviceTollgateMap.get(deviceID);
} }
vehicle.setTollgateID(tollgateID); if (StringUtils.isNotBlank(tollgateID)) {
vehicle.setTollgateID(tollgateID);
}
vehicle.setBreakRuleMode(wflxProperties.getProperty(illCode, illCode)); vehicle.setBreakRuleMode(wflxProperties.getProperty(illCode, illCode));
vehicle.setStorageUrl1(picUrl); vehicle.setStorageUrl1(picUrl);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!