From f1ba120c486048373505acfa74c3943c19be55ca Mon Sep 17 00:00:00 2001 From: wanglizhong <wlz> Date: 星期三, 14 五月 2025 15:23:20 +0800 Subject: [PATCH] feat:优化查看历史轨迹 --- ruoyi-system/src/main/java/com/ruoyi/system/service/IGpsCollectService.java | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IGpsCollectService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IGpsCollectService.java index 33359e8..d0512fa 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IGpsCollectService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IGpsCollectService.java @@ -1,7 +1,6 @@ package com.ruoyi.system.service; -import com.ruoyi.system.domain.GpsLoginRequest; -import com.ruoyi.system.domain.GpsLoginResponse; +import com.ruoyi.system.domain.*; /** * GPS閲囬泦鏈嶅姟鎺ュ彛 @@ -13,4 +12,32 @@ * @return 鐧诲綍鍝嶅簲 */ GpsLoginResponse login(GpsLoginRequest request); + + /** + * 鑾峰彇璁惧鍒楄〃 + + * @return 璁惧鍒楄〃鍝嶅簲 + */ + GpsDeviceListResponse getDeviceList(); + + /** + * 鑾峰彇璁惧鏈�鍚庝綅缃� + */ + GpsLastPositionResponse getLastPosition(GpsLastPositionRequest request); + + /** + * 閫氳繃杞︾墝鍙锋煡璇㈣澶囧彿 + * + * @param plateNumber 杞︾墝鍙� + * @return 璁惧鍙凤紝濡傛灉鏈壘鍒板垯杩斿洖null + */ + String getDeviceIdByPlateNumber(String plateNumber); + + /** + * 鎸夋椂闂存煡璇㈠巻鍙茶建杩� + * + * @param request 鏌ヨ璇锋眰 + * @return 杞ㄨ抗鏌ヨ鍝嶅簲 + */ + GpsTrackQueryResponse queryTracks(GpsTrackQueryRequest request); } \ No newline at end of file -- Gitblit v1.9.1