浏览代码

车辆查看详情接口调整

master
huminghao 3 周前
父节点
当前提交
fc796e57d3

+ 1
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/dto/comm/VehicleInfoViewResponseDTO.java 查看文件

@@ -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;

+ 3
- 1
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/comm/VehicleInfoManagerImpl.java 查看文件

@@ -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;
}



正在加载...
取消
保存