|
@@ -51,7 +51,7 @@ public class CarParkStoredCardServiceImpl extends ServiceImpl<CarParkStoredCardM
|
|
|
|
|
|
LambdaQueryWrapper<CarParkStoredCard> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
if (StrUtil.isNotBlank(queryParams.getPlateNumber())) {
|
|
|
- queryWrapper.eq(CarParkStoredCard::getPlateNumber, queryParams.getPlateNumber());
|
|
|
+ queryWrapper.like(CarParkStoredCard::getPlateNumber, queryParams.getPlateNumber());
|
|
|
}
|
|
|
queryWrapper.ge(StrUtil.isNotBlank(queryParams.getStartTimeBegin()), CarParkStoredCard::getStartTime, queryParams.getStartTimeBegin()).le(StrUtil.isNotBlank(queryParams.getStartTimeEnd()), CarParkStoredCard::getStartTime, queryParams.getStartTimeEnd());
|
|
|
queryWrapper.ge(StrUtil.isNotBlank(queryParams.getEndTimeBegin()), CarParkStoredCard::getEndTime, queryParams.getEndTimeBegin()).le(StrUtil.isNotBlank(queryParams.getEndTimeEnd()), CarParkStoredCard::getEndTime, queryParams.getEndTimeEnd());
|