Commit 4c368c3d by 刘宇峰

去掉

1 parent a592338c
...@@ -201,7 +201,7 @@ public class VehicleService { ...@@ -201,7 +201,7 @@ public class VehicleService {
if (vehicle == null || vehicle.getTypeId() == null) { if (vehicle == null || vehicle.getTypeId() == null) {
return; return;
} }
TenantVehicleType vehicleType = tenantVehicleTypeMapper.selectByTypeId(vehicle.getModelId()); TenantVehicleType vehicleType = tenantVehicleTypeMapper.selectByTypeId(vehicle.getTypeId());
if (vehicleType != null) { if (vehicleType != null) {
vehicle.setBrandId(vehicleType.getBrandId()); vehicle.setBrandId(vehicleType.getBrandId());
vehicle.setBrandName(vehicleType.getBrandName()); vehicle.setBrandName(vehicleType.getBrandName());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!