From 4686914dd93138d69e9280a88f24a51a711f52be Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Fri, 27 Apr 2018 09:01:57 +0800
Subject: [PATCH] 优化 报警数据查询

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

diff --git a/src/main/resources/mapper/DeviceMapper.xml b/src/main/resources/mapper/DeviceMapper.xml
index 0ce62ba..c13c908 100644
--- a/src/main/resources/mapper/DeviceMapper.xml
+++ b/src/main/resources/mapper/DeviceMapper.xml
@@ -193,7 +193,7 @@
 		<collection property="organizationIds" column="id" select="selectOrganizationIds"></collection>
 	</resultMap>
 	<!-- resultMap������ -->
-	<select id="selectOrganizationIds" resultType="INTEGER">
+	<select id="selectOrganizationIds" resultType="java.lang.Integer">
 		call proc_organizationIds_GetByDeviceId(#{id,jdbcType=INTEGER});
 	</select>
 	<select id="selectWithOrgIdsByMac" parameterType="java.lang.String" resultMap="BaseResultWithOrgIdsMap">
@@ -203,7 +203,7 @@
 		where mac = #{mac,jdbcType=VARCHAR}
 	</select>
 
-	<select id="getDeviceCountByRegion" resultType="INTEGER">
+	<select id="getDeviceCountByRegion" resultType="java.lang.Integer">
 		SELECT
 			COUNT( * ) 
 		FROM

--
Gitblit v1.8.0