Commit 4c368c3d by 刘宇峰

去掉

1 parent a592338c
......@@ -201,7 +201,7 @@ public class VehicleService {
if (vehicle == null || vehicle.getTypeId() == null) {
return;
}
TenantVehicleType vehicleType = tenantVehicleTypeMapper.selectByTypeId(vehicle.getModelId());
TenantVehicleType vehicleType = tenantVehicleTypeMapper.selectByTypeId(vehicle.getTypeId());
if (vehicleType != null) {
vehicle.setBrandId(vehicleType.getBrandId());
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!