Commit ea000999 authored by caotao's avatar caotao

1.解决按月导出接口表头为空的问题。

2.导出的数据按照里程从高往低排序。
parent 528a8f3e
......@@ -1941,6 +1941,7 @@ public class CarServiceImpl extends ServiceImpl<CarMapper, Car> implements ICarS
carExportDtos.add(carExportDto);
}
}
Collections.sort(carExportDtos,(e1,e2)->Double.valueOf(e2.getTotalTravel()).compareTo(Double.valueOf(e1.getTotalTravel())));
return carExportDtos;
}
......
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