|  |  |  | 
|---|
|  |  |  | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"该定价方案下没有配置价格"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | List<String> collect = pricingDetails.stream().map(s -> s.getBikeTypeId()).collect(Collectors.toList()); | 
|---|
|  |  |  | boolean b = baseParams.stream().map(s -> s.getId()).anyMatch(s -> collect.contains(s)); | 
|---|
|  |  |  | boolean b = baseParams.stream().map(s -> s.getId()).allMatch(s -> collect.contains(s)); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (b){ | 
|---|
|  |  |  | if (!b){ | 
|---|
|  |  |  | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"该定价方案下没有配置完整"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | PricingParam pricingParam1 = new PricingParam(); | 
|---|