Commit fd18aa1f by 杨林龙

新E盾 1.30 版本开发 里程详情查询时返回fenceId

1 parent 9e294716
...@@ -36,4 +36,7 @@ public class DailyMileageReportExport { ...@@ -36,4 +36,7 @@ public class DailyMileageReportExport {
@ExcelProperty(value = "行驶里程km", index = 7) @ExcelProperty(value = "行驶里程km", index = 7)
private double drivingMileage; private double drivingMileage;
@ExcelIgnore
private Integer fenceId;
} }
...@@ -87,8 +87,9 @@ ...@@ -87,8 +87,9 @@
tv.vin , tv.vin ,
tefd.journey_time mileageStartTime , tefd.journey_time mileageStartTime ,
tefd.journey_end_time mileageEndTime , tefd.journey_end_time mileageEndTime ,
TIMESTAMPDIFF(second ,tefd.journey_time,tefd.journey_end_time) drivingTimeNum, TIMESTAMPDIFF(second ,tefd.journey_time,tefd.journey_end_time) drivingTimeNum ,
format(tefd.total_mileage/1000,3) drivingMileage format(tefd.total_mileage/1000,3) drivingMileage ,
tefd.fence_id fenceId
from t_electric_fence_drive tefd from t_electric_fence_drive tefd
left join t_vehicle_device tvd on tvd.id = tefd.vd_id left join t_vehicle_device tvd on tvd.id = tefd.vd_id
left join t_vehicle tv on tv.id = tvd.vehicle_id left join t_vehicle tv on tv.id = tvd.vehicle_id
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!