From 1f356649ce536b19b903d6f3a533983d4b8222bc Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 25 十月 2019 18:16:39 +0800
Subject: [PATCH] 新增接口: 1. 获取所有设备的最新一条数据 新增数据库表: 1. 车辆信息表

---
 src/main/kotlin/com/flightfeather/obd/repository/ObdInfoRepository.kt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/obd/repository/ObdInfoRepository.kt b/src/main/kotlin/com/flightfeather/obd/repository/ObdInfoRepository.kt
index fb07c09..63d47eb 100644
--- a/src/main/kotlin/com/flightfeather/obd/repository/ObdInfoRepository.kt
+++ b/src/main/kotlin/com/flightfeather/obd/repository/ObdInfoRepository.kt
@@ -1,5 +1,6 @@
 package com.flightfeather.obd.repository
 
+import com.flightfeather.obd.lightshare.bean.ObdInfoVo
 import com.flightfeather.obd.socket.bean.ObdInfo
 import com.flightfeather.obd.socket.bean.ObdPackageData
 import com.flightfeather.obd.socket.bean.RealTimeData
@@ -15,4 +16,11 @@
      * 淇濆瓨 瀹炴椂淇℃伅 @see [RealTimeData] 鎴栬ˉ浼犱俊鎭� @see [ReplacementData]  涓殑 obd 鏁版嵁 @see [ObdInfo]
      */
     fun saveObdInfo(packageData: ObdPackageData): Boolean
+
+    /**
+     * 鏍规嵁缁堢璁惧鐮佽幏鍙杘bd鏁版嵁
+     */
+    fun getObdInfo(deviceCode: String, pageNum: Int?, pageSize: Int?): List<com.flightfeather.obd.domain.entity.ObdInfo>
+
+
 }
\ No newline at end of file

--
Gitblit v1.9.3