ruoyi-system/src/main/java/com/ruoyi/system/mapper/VehicleGpsSegmentMileageMapper.java
@@ -75,4 +75,13 @@ * 检查GPS点是否已被计算 */ public Long selectGpsCalculatedSegmentId(@Param("gpsId") Long gpsId); /** * 查询车辆在指定时间之前最后一个已处理的GPS坐标ID * @param vehicleId 车辆ID * @param beforeTime 截止时间(查询此时间之前的最后一个已处理GPS点) * @return GPS坐标ID,如果没有则返回null */ public Long selectLastCalculatedGpsId(@Param("vehicleId") Long vehicleId, @Param("beforeTime") Date beforeTime); }