Commit 85728b78 by 杨林龙

修改车辆Id对应的参数

1 parent 333c4f1b
......@@ -13,7 +13,7 @@ public class VehicleInfoVo implements Serializable {
/**
* 车辆Id
*/
private Long tempId;
private Long id;
/**
* 姓名
......
......@@ -1287,8 +1287,6 @@ public class VehicleService {
public void updateVehicleInfo(VehicleInfoVo vehicleInfoVo) {
Vehicle vehicle = new Vehicle();
BeanUtils.copyProperties(vehicleInfoVo, vehicle);
// 是配前端参数
vehicle.setId(vehicleInfoVo.getTempId());
TenantVehicleType vehicleType = tenantVehicleTypeMapper.selectByTypeId(vehicleInfoVo.getModelId());
if (vehicleType != null) {
vehicle.setModelName(vehicleType.getTypeName());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!