From b9fd2657a3d528881e4d1f7cae12ca8e2d63951a Mon Sep 17 00:00:00 2001
From: cjl <276999030@qq.com>
Date: Wed, 30 Aug 2023 09:33:31 +0800
Subject: [PATCH] fix:补充提交

---
 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