From dacae5af651baa6ae102c8dd4350a7b8b7d86fe6 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Thu, 28 Apr 2022 16:16:40 +0800 Subject: [PATCH] 通过时间和mac集合查询数据接口,修改蜂窝图小时数据接口 --- 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