From 3c5e130eabdad7fd688e2c8b5563c939b0651165 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Tue, 27 Jul 2021 15:27:48 +0800
Subject: [PATCH] 设备状态字段更改类型

---
 screen-api/src/main/resources/mapper/GroupMapper.xml |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/GroupMapper.xml b/screen-api/src/main/resources/mapper/GroupMapper.xml
index 356729c..e54c082 100644
--- a/screen-api/src/main/resources/mapper/GroupMapper.xml
+++ b/screen-api/src/main/resources/mapper/GroupMapper.xml
@@ -12,13 +12,7 @@
         <result column="is_delete" property="isDelete"/>
     </resultMap>
 
-    <resultMap id="GroupResultMap" type="java.util.LinkedHashMap">
-        <id column="id" property="id"/>
-        <result column="group_name" property="groupName"/>
-        <result column="organization_id" property="organizationId"/>
-    </resultMap>
-
-    <select id="selectUserGroup" resultMap="GroupResultMap">
+    <select id="selectUserGroup" resultMap="BaseResultMap">
         SELECT g.id,g.group_name
         FROM `group` g,`user_group` ug
         WHERE ug.user_id = #{userId}

--
Gitblit v1.8.0