Commit 8c97b695 by 杨林龙

开发 1.12.0 版本 增加车辆用途类型

1 parent 8c1aa78c
...@@ -124,7 +124,8 @@ public class OpereportService extends AbstractCommonService { ...@@ -124,7 +124,8 @@ public class OpereportService extends AbstractCommonService {
List<ReportDeviceDTO> list = vehicleDeviceMapper.searchReportDevice(search); List<ReportDeviceDTO> list = vehicleDeviceMapper.searchReportDevice(search);
//过滤有上点时间的sn(如果大数据有位置点数据,t_device_location则看消费是否有问题) //过滤有上点时间的sn(如果大数据有位置点数据,t_device_location则看消费是否有问题)
List<String> snList = list.stream().filter(rdd -> StringUtils.isNotEmpty(rdd.getGpsTime())).map(ReportDeviceDTO::getSns).collect(Collectors.toList()); List<String> snList = list.stream().filter(rdd -> rdd.getLastGpsTime() != null || rdd.getLastBsTime() != null)
.map(ReportDeviceDTO::getSns).collect(Collectors.toList());
Map<String, GpsBsData> gpsBsDataMap = remoteGpsBsService.getLastGpsBsBatchBySns(snList); Map<String, GpsBsData> gpsBsDataMap = remoteGpsBsService.getLastGpsBsBatchBySns(snList);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!