|
|
@ -93,7 +93,7 @@ public class VehicleInfoBean extends AbstractComponent {
|
|
|
|
public Map<String, BasicInfoResponse> getBasicInfo(List<BasicInfoRequest> reqs) {
|
|
|
|
public Map<String, BasicInfoResponse> getBasicInfo(List<BasicInfoRequest> reqs) {
|
|
|
|
return reqs.stream()
|
|
|
|
return reqs.stream()
|
|
|
|
.map(this::getBasicInfo)
|
|
|
|
.map(this::getBasicInfo)
|
|
|
|
.filter(BasicInfoResponse::isSuccess)
|
|
|
|
.filter(resp -> resp.getBasicInfo().isSuccess())
|
|
|
|
.collect(Collectors.toMap(
|
|
|
|
.collect(Collectors.toMap(
|
|
|
|
resp -> resp.getBasicInfo().getVhrno(),
|
|
|
|
resp -> resp.getBasicInfo().getVhrno(),
|
|
|
|
resp -> resp
|
|
|
|
resp -> resp
|
|
|
|