wlzboy
6 天以前 09e6dc3fb7266620fafb5e341808a8eb36e080a1
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);
}