| 
					
				 | 
			
			
				@ -4,6 +4,7 @@ import com.yihu.jw.care.job.BirthdayReminderJob; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.job.QuartzHelper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.job.consult.FinishConsultJob; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.job.device.DeviceLostAssociationJob; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.job.device.YunXunDeviceService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.job.message.DoctorSendUnreadJob; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.job.message.PatientSendUnreadJob; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.care.service.BirthdayReminderService; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -14,11 +15,13 @@ import com.yihu.jw.care.util.SystemConf; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.restmodel.web.ObjEnvelop; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.Api; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.ApiOperation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.ApiParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.slf4j.LoggerFactory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.http.MediaType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RequestMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RequestMethod; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RequestParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.RestController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import java.util.Date; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -43,6 +46,8 @@ public class JobController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private BirthdayReminderService birthdayReminderService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private WlyysimFlowVoiceService wlyysimFlowVoiceService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private YunXunDeviceService yunXunDeviceService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/deviceLostAssociationJob", method = RequestMethod.POST) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("医养物联网检测大屏失联率") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -329,6 +334,24 @@ public class JobController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @RequestMapping(value = "/yxDeviceSetPhone", method = RequestMethod.POST) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation("物联网卡流量语音初始化查询") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public String yxDeviceSetPhone( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "device_sn",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(value = "device_sn")String device_sn, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "phone1",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(value = "phone1")String phone1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "phone2",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(value = "phone2",required = false)String phone2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @ApiParam(name = "phone3",required = false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            @RequestParam(value = "phone3",required = false)String phone3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            yunXunDeviceService.setSos(device_sn,phone1,phone2,phone3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200,"success"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            error(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return error(-1, e.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				} 
			 |