From ac625fa6aee52f467243c78764625cf053dcfe81 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Wed, 25 Aug 2021 11:44:20 +0800 Subject: [PATCH] screen-manage 重构组织模块日志插入代码 --- screen-api/src/main/resources/mapper/UserMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/screen-api/src/main/resources/mapper/UserMapper.xml b/screen-api/src/main/resources/mapper/UserMapper.xml index cc4fe83..fa2b662 100644 --- a/screen-api/src/main/resources/mapper/UserMapper.xml +++ b/screen-api/src/main/resources/mapper/UserMapper.xml @@ -28,10 +28,10 @@ <result column="org_expire_time" property="expireTime"/> </association> <!--���������--> - <collection property="groups" ofType="com.moral.api.entity.Group" javaType="java.util.ArrayList"> + <association property="group" javaType="com.moral.api.entity.Group"> <id column="group_id" property="id" jdbcType="INTEGER"/> <result column="group_name" property="groupName" jdbcType="VARCHAR"/> - </collection> + </association> </resultMap> <!--������������������������������������������--> -- Gitblit v1.8.0