|  | @@ -1099,8 +1099,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  //		courseScheduleService.checkNewCourseSchedules(courseSchedules, false,false);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  | -            imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroupApplyBaseInfoDto.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | -            imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +            imGroupService.create(classGroup.getId().toString(), null, classGroup.getName(), classGroup.getName(), vipGroupApplyBaseInfoDto.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | +            imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |              imUserFriendService.refreshGroupImUserFriend(classGroup.getMusicGroupId(), classGroup.getGroupType());
 | 
	
		
			
				|  |  |              //发送推送
 | 
	
		
			
				|  |  |              Map<Integer, String> map = new HashMap<>(1);
 | 
	
	
		
			
				|  | @@ -1503,8 +1503,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  //		courseScheduleService.checkNewCourseSchedules(courseSchedules, false,false);
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  | -            imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), applyBaseInfo.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | -            imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +            imGroupService.create(classGroup.getId().toString(), null, classGroup.getName(), classGroup.getName(), applyBaseInfo.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | +            imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |              imUserFriendService.refreshGroupImUserFriend(classGroup.getMusicGroupId(), classGroup.getGroupType());
 | 
	
		
			
				|  |  |  //			SysUser sysUser = teacherDao.getUser(applyBaseInfo.getUserId());
 | 
	
		
			
				|  |  |  //			//发送推送
 | 
	
	
		
			
				|  | @@ -2549,8 +2549,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  //		courseScheduleService.checkNewCourseSchedules(courseSchedules, false,false);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  | -            imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | -            imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +            imGroupService.create(classGroup.getId().toString(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | +            imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |              imUserFriendService.refreshGroupImUserFriend(classGroup.getMusicGroupId(), classGroup.getGroupType());
 | 
	
		
			
				|  |  |              //发送推送短信
 | 
	
		
			
				|  |  |              Map<Integer, String> map = new HashMap<>(1);
 | 
	
	
		
			
				|  | @@ -2855,8 +2855,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                      courseScheduleStudentPaymentDao.batchInsert(courseScheduleStudentPayments);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -                    imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | -                    imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +                    imGroupService.create(classGroup.getId().toString(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | +                    imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |                      imUserFriendService.refreshGroupImUserFriend(classGroup.getMusicGroupId(), classGroup.getGroupType());
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  SysUserCashAccount sysUserCashAccount = sysUserCashAccountService.get(userId);
 | 
	
	
		
			
				|  | @@ -3091,7 +3091,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |          classGroupDao.update(classGroup);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          //学员退出班级群
 | 
	
		
			
				|  |  | -        imGroupMemberService.quit(classGroup.getId().longValue(), studentId);
 | 
	
		
			
				|  |  | +        imGroupMemberService.quit(classGroup.getId().toString(), studentId);
 | 
	
		
			
				|  |  |          return BaseController.succeed();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -3244,7 +3244,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |          classGroupDao.update(classGroup);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          //学员退出班级群
 | 
	
		
			
				|  |  | -        imGroupMemberService.quit(classGroup.getId().longValue(), studentId);
 | 
	
		
			
				|  |  | +        imGroupMemberService.quit(classGroup.getId().toString(), studentId);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
	
		
			
				|  | @@ -3374,9 +3374,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |          if (Objects.nonNull(studentRecoverInfo.getTeacherId()) && !studentRecoverInfo.getTeacherId().equals(vipGroup.getUserId())) {
 | 
	
		
			
				|  |  |              vipGroup.setUserId(studentRecoverInfo.getTeacherId());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            imGroupMemberService.quit(classGroup.getId().longValue(), oldTeacherId);
 | 
	
		
			
				|  |  | +            imGroupMemberService.quit(classGroup.getId().toString(), oldTeacherId);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            imGroupMemberService.join(classGroup.getId().longValue(), vipGroup.getUserId(), "指导老师", false);
 | 
	
		
			
				|  |  | +            imGroupMemberService.join(classGroup.getId().toString(), vipGroup.getUserId(), "指导老师", false);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          ClassGroupStudentMapper classStudentMapperByUserIdAndClassGroupId = classGroupStudentMapperDao.query(classGroup.getId(),
 | 
	
	
		
			
				|  | @@ -3744,7 +3744,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |                  courseScheduleTeacherSalaryService.updateVipGroupCourseTeacherSalary(Integer.parseInt(studentPaymentOrder.getMusicGroupId()), null);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  //学员退出班级群
 | 
	
		
			
				|  |  | -                imGroupMemberService.quit(studentPaymentOrder.getClassGroupId().longValue(), studentApplyRefunds.getUserId());
 | 
	
		
			
				|  |  | +                imGroupMemberService.quit(studentPaymentOrder.getClassGroupId().toString(), studentApplyRefunds.getUserId());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  break;
 | 
	
		
			
				|  |  |              case REJECT:
 | 
	
	
		
			
				|  | @@ -4076,13 +4076,13 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |              ClassGroup classGroup = classGroupDao.findByMusicGroupAndType(oldVipGroupInfo.getId().toString(), GroupType.VIP.getCode());
 | 
	
		
			
				|  |  |              if (Objects.nonNull(oldVipGroupInfo.getEducationalTeacherId())) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -                imGroupMemberService.quit(classGroup.getId().longValue(), oldVipGroupInfo.getEducationalTeacherId());
 | 
	
		
			
				|  |  | +                imGroupMemberService.quit(classGroup.getId().toString(), oldVipGroupInfo.getEducationalTeacherId());
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              oldVipGroupInfo.setEducationalTeacherId(vipGroupApplyBaseInfo.getEducationalTeacherId());
 | 
	
		
			
				|  |  |              isChange = true;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            imGroupMemberService.join(classGroup.getId().longValue(), oldVipGroupInfo.getEducationalTeacherId(), "乐团主管", false);
 | 
	
		
			
				|  |  | +            imGroupMemberService.join(classGroup.getId().toString(), oldVipGroupInfo.getEducationalTeacherId(), "乐团主管", false);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          if (Objects.nonNull(vipGroupApplyBaseInfo.getOrganId()) && !vipGroupApplyBaseInfo.getOrganId().equals(oldVipGroupInfo.getOrganId())) {
 | 
	
		
			
				|  |  |              isChange = true;
 | 
	
	
		
			
				|  | @@ -4213,7 +4213,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  //		courseScheduleStudentPaymentService.updateVipGiveCourse(vipGroup.getId());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +        imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
	
		
			
				|  | @@ -4365,8 +4365,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |              classGroupDao.update(classGroup);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              try {
 | 
	
		
			
				|  |  | -                imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | -                imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +                imGroupService.create(classGroup.getId().toString(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | +                imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |                  imUserFriendService.refreshClassImUserFriend(classGroup.getId());
 | 
	
		
			
				|  |  |              } catch (Exception e) {
 | 
	
		
			
				|  |  |                  e.printStackTrace();
 | 
	
	
		
			
				|  | @@ -4493,8 +4493,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |          studentDao.updateStudentServiceTag(null, studentIds, YesOrNoEnum.YES.getCode());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  | -            imGroupService.create(classGroup.getId().longValue(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | -            imGroupMemberService.join(classGroup.getId().longValue(), userRoleMap);
 | 
	
		
			
				|  |  | +            imGroupService.create(classGroup.getId().toString(), null, classGroup.getName(), classGroup.getName(), vipGroup.getName(), null, null, GroupType.VIP.getCode());
 | 
	
		
			
				|  |  | +            imGroupMemberService.join(classGroup.getId().toString(), userRoleMap);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              imUserFriendService.refreshGroupImUserFriend(vipGroup.getId().toString(), GroupType.VIP);
 | 
	
		
			
				|  |  |          } catch (Exception e) {
 | 
	
	
		
			
				|  | @@ -4577,7 +4577,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
	
		
			
				|  |  |                  Set<Integer> classGroupIds = classGroupDao.queryClassGroupIds(collect);
 | 
	
		
			
				|  |  |                  //解散群
 | 
	
		
			
				|  |  |                  for (Integer classGroupId : classGroupIds) {
 | 
	
		
			
				|  |  | -                    imGroupService.cancel(classGroupId.longValue());
 | 
	
		
			
				|  |  | +                    imGroupService.cancel(classGroupId.toString());
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 |