|
@@ -2007,7 +2007,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
|
|
|
imGroupMemberService.quit(classGroup.getId().longValue(), oldTeacherId);
|
|
|
|
|
|
- imGroupMemberService.join(classGroup.getId().longValue(), vipGroup.getUserId(), null, false);
|
|
|
+ imGroupMemberService.join(classGroup.getId().longValue(), vipGroup.getUserId(), "指导老师", false);
|
|
|
}
|
|
|
|
|
|
ClassGroupStudentMapper classStudentMapperByUserIdAndClassGroupId = classGroupStudentMapperDao.query(classGroup.getId(),
|
|
@@ -2670,6 +2670,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
oldVipGroupInfo.setUpdateTime(now);
|
|
|
vipGroupDao.update(oldVipGroupInfo);
|
|
|
}
|
|
|
+ imUserFriendService.refreshGroupImUserFriend(oldVipGroupInfo.getId().toString(),GroupType.VIP);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -2916,7 +2917,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
try {
|
|
|
imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
|
|
|
imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
|
|
|
- imUserFriendService.classGroupAddStudent(classGroup.getId(), studentIds);
|
|
|
+ imUserFriendService.refreshClassImUserFriend(classGroup.getId());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -3100,9 +3101,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
|
|
|
imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
|
|
|
|
|
|
- imUserFriendService.groupChangeEducation(vipGroup.getId().toString(), vipGroup.getEducationalTeacherId(), GroupType.PRACTICE);
|
|
|
- imUserFriendService.classGroupChangeTeacher(classGroup.getId(), vipGroup.getUserId());
|
|
|
- imUserFriendService.classGroupAddStudent(classGroup.getId(), studentIds);
|
|
|
+ imUserFriendService.refreshGroupImUserFriend(vipGroup.getId().toString(),GroupType.PRACTICE);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|