@@ -148,7 +148,7 @@ public class VehicleInfoViewResponseDTO extends BaseModel { | |||
private String ownerTel; | |||
@ApiModelProperty(value = "车辆使用性质") | |||
private VehicleUseCharacter useCharacter; | |||
private Integer useCharacter; | |||
@ApiModelProperty(value = "注册日期-行驶证") | |||
private String registerDate; |
@@ -45,7 +45,9 @@ public class VehicleInfoManagerImpl extends AbstractCommManager implements Vehic | |||
if (vehicleInfo == null) { | |||
throw new ManagerException("未获取到车辆信息!"); | |||
} | |||
return copyProperties(vehicleInfo, new VehicleInfoViewResponseDTO()); | |||
VehicleInfoViewResponseDTO resDTO = copyProperties(vehicleInfo, new VehicleInfoViewResponseDTO()); | |||
resDTO.setUseCharacter(vehicleInfo.getUseCharacter().getCode()); | |||
return resDTO; | |||
} | |||