|
@@ -591,7 +591,7 @@ public class PtlSchemeServiceImpl extends ServiceImpl<PtlSchemeMapper, PtlScheme
|
|
|
like(PtlScheme::getCarnature, carnature).like(PtlScheme::getVehicleType, vehicleType).
|
|
like(PtlScheme::getCarnature, carnature).like(PtlScheme::getVehicleType, vehicleType).
|
|
|
eq(PtlScheme::getProductId, productId).eq(PtlScheme::getIsDelete, 0));
|
|
eq(PtlScheme::getProductId, productId).eq(PtlScheme::getIsDelete, 0));
|
|
|
Map<String, PtlScheme> collectPtlSchemes = ptlSchemes.stream().collect(Collectors.toMap(PtlScheme::getId, Function.identity()));
|
|
Map<String, PtlScheme> collectPtlSchemes = ptlSchemes.stream().collect(Collectors.toMap(PtlScheme::getId, Function.identity()));
|
|
|
- AssertionUtils.isFail(collectPtlSchemes.isEmpty(), "没有可报价的保险公司");
|
|
|
|
|
|
|
+ AssertionUtils.isFail(collectPtlSchemes.isEmpty(), "没有可报价的方案配置信息");
|
|
|
schemeResultVo.getSchemes().stream().filter(s -> !collectPtlSchemes.containsKey(s.getId()));
|
|
schemeResultVo.getSchemes().stream().filter(s -> !collectPtlSchemes.containsKey(s.getId()));
|
|
|
return schemeResultVo;
|
|
return schemeResultVo;
|
|
|
}
|
|
}
|