| 
					
				 | 
			
			
				@@ -1238,13 +1238,14 @@ public class RoomServiceImpl implements RoomService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Transactional(rollbackFor = Exception.class) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Transactional(rollbackFor = Exception.class,isolation = Isolation.READ_COMMITTED) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public boolean statusSync(String roomId,String userId) throws Exception { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         log.info("statusSync: roomId={}, userId={}", roomId, userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<RoomMember> byRidAndUid = roomMemberDao.findByRidAndUid(roomId, userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(byRidAndUid.size() > 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //            SysUser sysUser = sysUserFeignService.queryUserById(Integer.parseInt(userId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             SysUser sysUser = teacherDao.getUser(Integer.parseInt(userId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            studentDao.lockUser(Integer.parseInt(userId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Teacher teacher = teacherDao.get(sysUser.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             CourseSchedule courseSchedule = courseScheduleDao.get(Long.parseLong(roomId.substring(1))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             log.info("statusSyncLevelRoom: roomId={}, userId={}", roomId, userId); 
			 |