From fc2a0bcab816796547cccb9ec746a54b16b6a34b Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Fri, 16 Jul 2021 14:27:40 +0800
Subject: [PATCH] screen-api myabtisPLUS版本降级
---
screen-api/src/main/resources/mapper/GroupMapper.xml | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/screen-api/src/main/resources/mapper/GroupMapper.xml b/screen-api/src/main/resources/mapper/GroupMapper.xml
index 1123a96..e54c082 100644
--- a/screen-api/src/main/resources/mapper/GroupMapper.xml
+++ b/screen-api/src/main/resources/mapper/GroupMapper.xml
@@ -12,12 +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"/>
- </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