From 1dfc2c2708fba01b771a2edd24c83363ee7c84d0 Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Thu, 09 Apr 2020 14:32:09 +0800
Subject: [PATCH] update设备跳转到实时界面

---
 src/main/resources/mapper/DeviceMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/DeviceMapper.xml b/src/main/resources/mapper/DeviceMapper.xml
index 5680b8d..68910e8 100644
--- a/src/main/resources/mapper/DeviceMapper.xml
+++ b/src/main/resources/mapper/DeviceMapper.xml
@@ -45,6 +45,8 @@
 			<result column="device_tech" property="deviceTech" jdbcType="TINYINT" />
 			<result column="device_cat" property="deviceCat" jdbcType="TINYINT" />
 			<result column="device_source" property="deviceSource" jdbcType="VARCHAR" />
+			<result column="ext_c" property="extC" jdbcType="VARCHAR" />
+			<result column="ext_d" property="extD" jdbcType="VARCHAR" />
 		</association>
 	</resultMap>
 
@@ -394,7 +396,9 @@
 			mpt.province_code,
 			dp.device_tech,
 			dp.device_cat,
-			dp.device_source
+			dp.device_source,
+			dp.ext_c,
+			dp.ext_d
 		from device dev
 		left join operate_user ouser on dev.operate_user_id = ouser.id
 		left join device_version dvn on dev.device_version_id = dvn.id
@@ -410,4 +414,8 @@
 			</if>
 		)
 	</select>
+	
+	<select id="getLimitDataByDevice" resultType="String">
+		SELECT limit_val FROM view_device_density WHERE mac = #{mac}
+	</select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0