Commit c86cc7ee by foutouren

仲利警情:修复指定数据工单不存在的情况

1 parent 5a0ced13
...@@ -2453,7 +2453,10 @@ public class VehicleService extends AbstractCommonService { ...@@ -2453,7 +2453,10 @@ public class VehicleService extends AbstractCommonService {
} }
return links.stream() return links.stream()
.filter(Objects::nonNull) .filter(Objects::nonNull)
.collect(Collectors.toMap(LinkVehicleVO::getVehicleId, LinkVehicleVO::getBizOrderNo, (a, b) -> a)); .collect(Collectors.toMap(
LinkVehicleVO::getVehicleId,
link -> link.getBizOrderNo() == null ? "" : link.getBizOrderNo(),
(a, b) -> a));
} }
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!