From 43086924a890e1ae64ab98f9b844c3cf8a0b88c8 Mon Sep 17 00:00:00 2001
From: fengxiang <110431245@qq.com>
Date: Thu, 17 May 2018 17:21:19 +0800
Subject: [PATCH] 地图搜索功能增强

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

diff --git a/src/main/resources/mapper/HistoryMinutelyMapper.xml b/src/main/resources/mapper/HistoryMinutelyMapper.xml
index ff3b4fc..2688dd2 100644
--- a/src/main/resources/mapper/HistoryMinutelyMapper.xml
+++ b/src/main/resources/mapper/HistoryMinutelyMapper.xml
@@ -53,6 +53,9 @@
 				<if test="monitorPointId != null">
 				AND mp.id =	#{monitorPointId}
 				</if>
+				<if test="professionId != null">
+				AND d.profession_id = #{professionId}
+				</if>
 			)	
 		</if>
 		

--
Gitblit v1.8.0