Commit 65a3b5e6 authored by duanruiming's avatar duanruiming

[update] 微观大数据平台-展示空间占有率使用空间长度占比

parent ab0a6cdb
...@@ -1399,9 +1399,9 @@ public class TrendServiceImpl implements TrendService { ...@@ -1399,9 +1399,9 @@ public class TrendServiceImpl implements TrendService {
vo.setTimeOccupancy((int) Math.round(timeOccupancyDouble * 100)); vo.setTimeOccupancy((int) Math.round(timeOccupancyDouble * 100));
} }
Double vehicleNumsRatioMeanDoulbe = po.getVehicleNumsRatioMean(); Double vehicleLengthRatioMean = po.getVehicleLengthRatioMean();
if (vehicleNumsRatioMeanDoulbe != null) { if (vehicleLengthRatioMean != null) {
vo.setVehicleNumsRatioMean((int) Math.round(vehicleNumsRatioMeanDoulbe * 100)); vo.setVehicleNumsRatioMean((int) Math.round(vehicleLengthRatioMean * 100));
} }
vo.setVehheadDist(po.getVehheadDist()); vo.setVehheadDist(po.getVehheadDist());
......
...@@ -158,7 +158,7 @@ public class TableQueryVO { ...@@ -158,7 +158,7 @@ public class TableQueryVO {
private Integer timeOccupancy; private Integer timeOccupancy;
@ApiModelProperty(value = "空间占有率") @ApiModelProperty(value = "空间占有率")
// 空间长度占比 // 空间长度占比 todo字段名称展示先不改了
@ExcelProperty("平均空间占有率") @ExcelProperty("平均空间占有率")
private Integer vehicleNumsRatioMean; private Integer vehicleNumsRatioMean;
@ExcelProperty("85位速度") @ExcelProperty("85位速度")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment