Merge branch 'refs/heads/nanguangmall' into dev
This commit is contained in:
+2
-6
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user