From d97d902c88d0c718152f0a9f099de209500fc18a Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Mon, 26 Jul 2021 17:35:42 +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