From 9f79dd626f3a5096acedcae8d7a919c8910ac240 Mon Sep 17 00:00:00 2001
From: lizijie <lzjiiie@163.com>
Date: Mon, 14 Oct 2019 10:08:16 +0800
Subject: [PATCH] 修改单位

---
 src/main/resources/mapper/SensorMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/SensorMapper.xml b/src/main/resources/mapper/SensorMapper.xml
index d55dab1..ccfa2cf 100644
--- a/src/main/resources/mapper/SensorMapper.xml
+++ b/src/main/resources/mapper/SensorMapper.xml
@@ -138,7 +138,7 @@
 	</select>
 	
 	<select id="getSensorByMonitorPointId" resultType="java.util.Map">
-		SELECT DISTINCT s.*
+		SELECT DISTINCT s.sensor_key sensorKey,s.unit,s.name,s.description,s.id
 		FROM device d,device_version dv,device_version_sensor dvs,sensor s
 		WHERE d.device_version_id = dvs.device_version_id
 		AND dvs.sensor_id = s.id

--
Gitblit v1.8.0