From 41b04081ef9b73fde09f46ea9521831572008cf1 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Wed, 30 Jun 2021 11:49:18 +0800 Subject: [PATCH] update --- 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