|
|
@@ -588,7 +588,7 @@ public class PtlSchemeServiceImpl extends ServiceImpl<PtlSchemeMapper, PtlScheme
|
|
|
//过滤 能源类型 使用性质 车辆种类
|
|
|
List<PtlScheme> ptlSchemes = ptlSchemeMapper.selectList(new LambdaQueryWrapper<PtlScheme>().
|
|
|
eq(PtlScheme::getCompanyId, companyId).eq(PtlScheme::getEnergyType, energyType).
|
|
|
- like(PtlScheme::getCarnature, carnature).like(PtlScheme::getVehicleType, vehicleType).
|
|
|
+ eq(PtlScheme::getCarnature, carnature).eq(PtlScheme::getVehicleType, vehicleType).
|
|
|
eq(PtlScheme::getProductId, productId).eq(PtlScheme::getIsDelete, 0));
|
|
|
Map<String, PtlScheme> collectPtlSchemes = ptlSchemes.stream().collect(Collectors.toMap(PtlScheme::getId, Function.identity()));
|
|
|
AssertionUtils.isFail(collectPtlSchemes.isEmpty(), "没有可报价的方案配置信息");
|