|  | @@ -15,6 +15,7 @@ import com.ym.mec.biz.dal.enums.SignStatusEnum;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.enums.StudentAttendanceStatusEnum;
 | 
	
		
			
				|  |  |  import com.ym.pojo.*;
 | 
	
		
			
				|  |  |  import com.ym.service.RoomService;
 | 
	
		
			
				|  |  | +import lombok.extern.slf4j.Slf4j;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -25,6 +26,7 @@ import java.util.List;
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  @RestController
 | 
	
		
			
				|  |  |  @RequestMapping("/room")
 | 
	
		
			
				|  |  | +@Slf4j
 | 
	
		
			
				|  |  |  public class RoomController{
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      RoomService roomService;
 | 
	
	
		
			
				|  | @@ -50,6 +52,7 @@ public class RoomController{
 | 
	
		
			
				|  |  |      @RequestMapping(value = "/statusSync")
 | 
	
		
			
				|  |  |      public Object statusSync(@RequestBody String body) throws Exception {
 | 
	
		
			
				|  |  |          ChannelStateNotify notify = JSONObject.parseObject(body, ChannelStateNotify.class);
 | 
	
		
			
				|  |  | +        log.info("statusSyncParam: {}",JSONObject.toJSON(notify));
 | 
	
		
			
				|  |  |          boolean result = false;
 | 
	
		
			
				|  |  |          if(notify.getEvent() == 12 || notify.getEvent() == 3){
 | 
	
		
			
				|  |  |              result = roomService.statusSync(notify.getChannelId(), notify.getUserId());
 |