From 7486f185f3a48b75f163a99ecd7546b525018dd0 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Thu, 17 May 2018 10:03:48 +0800
Subject: [PATCH] 行业 优化

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

diff --git a/src/main/resources/mapper/DeviceMapper.xml b/src/main/resources/mapper/DeviceMapper.xml
index 2808a19..be3deb8 100644
--- a/src/main/resources/mapper/DeviceMapper.xml
+++ b/src/main/resources/mapper/DeviceMapper.xml
@@ -280,6 +280,9 @@
 					<if test="areaCode != null">
 					AND mp.area_code = #{areaCode}
 					</if>
+					<if test="monitorPointId != null">
+					AND mp.id = #{monitorPointId}
+					</if>
 			)
 			<if test="professionId != null">
 			AND d.profession_id = #{professionId}

--
Gitblit v1.8.0