Merge branch 'refs/heads/nanguangmall' into dev

This commit is contained in:
赵辉
2025-12-13 23:07:56 +08:00
3 changed files with 11 additions and 7 deletions
@@ -405,9 +405,7 @@ public class VehicleApplicationService {
throw new ServiceException("车牌号不能为空");
}
if (! Pattern.matches(Constants.LICENSE_PLATE_REGEX, vehicleLicensePlateNumber)) {
throw new ServiceException("车牌号格式不正确");
}
// Removed license plate regex validation as per requirement
VehicleDto query = new VehicleDto();
query.setVehicleLicensePlateNumber(vehicle.getVehicleLicensePlateNumber());
@@ -680,9 +678,7 @@ public class VehicleApplicationService {
if (StrUtil.isEmpty(vehicleLicensePlateNumber)) {
throw new ServiceException("车牌号不能为空");
}
if (! Pattern.matches(Constants.LICENSE_PLATE_REGEX, vehicleLicensePlateNumber)) {
throw new ServiceException("车牌号格式不正确");
}
// Removed license plate regex validation as per requirement
VehicleDto query = new VehicleDto();
query.setVehicleLicensePlateNumber(vehicle.getVehicleLicensePlateNumber());