|  | @@ -52,6 +52,7 @@ public class RoomController{
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @RequestMapping(value = "/sendImPlayMidiMessage", method = RequestMethod.POST)
 |  |      @RequestMapping(value = "/sendImPlayMidiMessage", method = RequestMethod.POST)
 | 
											
												
													
														|  |      public Object sendImPlayMidiMessage(@RequestBody PlayMidiMessageData playMidiMessageData) throws Exception {
 |  |      public Object sendImPlayMidiMessage(@RequestBody PlayMidiMessageData playMidiMessageData) throws Exception {
 | 
											
												
													
														|  | 
 |  | +        log.info("sendImPlayMidiMessage: {}",JSONObject.toJSON(playMidiMessageData));
 | 
											
												
													
														|  |          roomService.sendImPlayMidiMessage(playMidiMessageData);
 |  |          roomService.sendImPlayMidiMessage(playMidiMessageData);
 | 
											
												
													
														|  |          return new BaseResponse<>();
 |  |          return new BaseResponse<>();
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
										
											
												
													
														|  | @@ -176,13 +177,14 @@ public class RoomController{
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @RequestMapping(value = "adjustExamSong", method = RequestMethod.POST)
 |  |      @RequestMapping(value = "adjustExamSong", method = RequestMethod.POST)
 | 
											
												
													
														|  |      public Object adjustExamSong(@RequestBody ExamSongData examSongData) throws Exception {
 |  |      public Object adjustExamSong(@RequestBody ExamSongData examSongData) throws Exception {
 | 
											
												
													
														|  | 
 |  | +        log.info("adjustExamSong: {}",JSONObject.toJSON(examSongData));
 | 
											
												
													
														|  |          roomService.adjustExamSong(examSongData.getRoomId(),examSongData.getStatus(),examSongData.getExamSongId());
 |  |          roomService.adjustExamSong(examSongData.getRoomId(),examSongData.getStatus(),examSongData.getExamSongId());
 | 
											
												
													
														|  |          return new BaseResponse<>();
 |  |          return new BaseResponse<>();
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @RequestMapping(value = "/device/batchControl", method = RequestMethod.POST)
 |  |      @RequestMapping(value = "/device/batchControl", method = RequestMethod.POST)
 | 
											
												
													
														|  |      public Object batchControlDevice(@RequestBody ReqDeviceControlData data)throws Exception {
 |  |      public Object batchControlDevice(@RequestBody ReqDeviceControlData data)throws Exception {
 | 
											
												
													
														|  | -        log.info("batchControl: {}",JSONObject.toJSON(data));
 |  | 
 | 
											
												
													
														|  | 
 |  | +        log.info("batchControlDevice: {}",JSONObject.toJSON(data));
 | 
											
												
													
														|  |          boolean result = roomService.batchControlDevice(data);
 |  |          boolean result = roomService.batchControlDevice(data);
 | 
											
												
													
														|  |          return new BaseResponse<>(result);
 |  |          return new BaseResponse<>(result);
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
										
											
												
													
														|  | @@ -190,6 +192,7 @@ public class RoomController{
 | 
											
												
													
														|  |      @RequestMapping(value = "/device/sync", method = RequestMethod.POST)
 |  |      @RequestMapping(value = "/device/sync", method = RequestMethod.POST)
 | 
											
												
													
														|  |      public Object syncDeviceState(@RequestBody ReqDeviceControlData data)
 |  |      public Object syncDeviceState(@RequestBody ReqDeviceControlData data)
 | 
											
												
													
														|  |              throws Exception {
 |  |              throws Exception {
 | 
											
												
													
														|  | 
 |  | +        log.info("syncDeviceState: {}",JSONObject.toJSON(data));
 | 
											
												
													
														|  |          boolean result;
 |  |          boolean result;
 | 
											
												
													
														|  |          if (data.getCameraOn() != null) {
 |  |          if (data.getCameraOn() != null) {
 | 
											
												
													
														|  |              result = roomService.syncDeviceState(data.getRoomId(), DeviceTypeEnum.Camera, data.getCameraOn());
 |  |              result = roomService.syncDeviceState(data.getRoomId(), DeviceTypeEnum.Camera, data.getCameraOn());
 |