|
|
|
@ -90,13 +90,7 @@ public class VehicleInfoBean extends AbstractComponent {
|
|
|
|
|
return response;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Map<String, BasicInfoResponse> getBasicInfo(List<String> vhrNos) {
|
|
|
|
|
List<BasicInfoRequest> reqs = vhrNos.stream().map(vhrNo -> {
|
|
|
|
|
BasicInfoRequest req = new BasicInfoRequest();
|
|
|
|
|
req.setVhrno(vhrNo);
|
|
|
|
|
return req;
|
|
|
|
|
}).toList();
|
|
|
|
|
|
|
|
|
|
public Map<String, BasicInfoResponse> getBasicInfo(List<BasicInfoRequest> reqs) {
|
|
|
|
|
return reqs.stream()
|
|
|
|
|
.map(this::getBasicInfo)
|
|
|
|
|
.filter(BasicInfoResponse::isSuccess)
|
|
|
|
|