增加车辆,gps接口

This commit is contained in:
zhangyue 2026-08-01 10:06:46 +08:00
parent d32ce893fb
commit f0cb2902cd
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class SurvGpsRecordServiceImpl extends ServiceImpl<SurvGpsRecordMapper, S
.like(SurvVehicleInfo::getVeNotes, gpsRecordDTO.getVehicleName())
.list();
if(!vehicleInfos.isEmpty()){
gpsIds.addAll(vehicleInfos.stream().map(SurvVehicleInfo::getId).collect(Collectors.toList()));
gpsIds.addAll(vehicleInfos.stream().map(SurvVehicleInfo::getGpsId).collect(Collectors.toList()));
}else{
return new Page<>(gpsRecordDTO.getPageNo(),gpsRecordDTO.getPageSize());
}