1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| package com.ruoyi.dataInterchange.dao;
|
| import com.ruoyi.dataInterchange.model.UPExgMsgRealLocation;
| import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
| import org.springframework.stereotype.Repository;
|
| import java.util.List;
|
| /**
| * @author zhibing.pu
| * @Date 2025/3/7 16:38
| */
| @Repository
| public interface UPExgMsgRealLocationDao extends ElasticsearchRepository<UPExgMsgRealLocation, String> {
|
|
| /**
| * 查询有效时间段车辆的定位数据
| *
| * @param vehicleNo
| * @param start
| * @param end
| * @return
| */
| List<UPExgMsgRealLocation> findByVehicleNoAndCreateTimeBetween(String vehicleNo, Long start, Long end);
|
| /**
| * 获取车辆的最新定位
| *
| * @param vehicleNo
| * @return
| */
| UPExgMsgRealLocation findByVehicleNoOrderByCreateTimeDesc(String vehicleNo);
| }
|
|