Commit 07a440e4 by xmh

<fix> 非机动车牌修复

1 parent 594d01e3
......@@ -145,7 +145,7 @@ public class TrafficProcessor implements ItemProcessor<JSONObject, TrafficConten
.map(x -> x.getJSONObject("plate"))
.map(x -> x.getString("text"))
.orElse(null);
if (traffic.getPlateNumber() != null && plateNumber != null) {
if (traffic.getPlateNumber() == null && plateNumber != null) {
traffic.setPlateNumber(plateNumber);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!