From 750c35d5f61c677f3d77acd5ec4d76d0193c2643 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Fri, 27 Oct 2017 15:10:19 +0800
Subject: [PATCH] 查询结果为空处理

---
 src/main/resources/mapper/HistoryEntityMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/HistoryEntityMapper.xml b/src/main/resources/mapper/HistoryEntityMapper.xml
index 21e40f4..56eaad9 100644
--- a/src/main/resources/mapper/HistoryEntityMapper.xml
+++ b/src/main/resources/mapper/HistoryEntityMapper.xml
@@ -306,4 +306,7 @@
 			state
 	</select>
 
+	<select id="getMacLogByLast" resultType="string">
+		SELECT mac_log FROM logger ORDER BY time DESC LIMIT 1
+	</select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0