|  | @ -107,11 +107,13 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
 | 
	
		
			
				|  |  | 	@ApiOperation(value = "获取居民该机构的最近一次在线咨询")
 | 
	
		
			
				|  |  | 	public Envelop findLastOnlineConsult(
 | 
	
		
			
				|  |  | 			@ApiParam(name = "orgCode", value = "机构code")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "orgCode",required = true) String orgCode,
 | 
	
		
			
				|  |  | 			@RequestParam(value = "orgCode",required = false) String orgCode,
 | 
	
		
			
				|  |  |             @ApiParam(name = "sessionId", value = "会话id")
 | 
	
		
			
				|  |  |             @RequestParam(value = "sessionId",required = false) String sessionId,
 | 
	
		
			
				|  |  | 			@ApiParam(name = "patient", value = "居民CODE")
 | 
	
		
			
				|  |  | 			@RequestParam(value = "patient",required = true) String patient)throws Exception {
 | 
	
		
			
				|  |  | 		try {
 | 
	
		
			
				|  |  | 			return success("请求成功",consultService.findLastOnlineConsult(patient, orgCode));
 | 
	
		
			
				|  |  | 			return success("请求成功",consultService.findLastOnlineConsult(patient, orgCode,sessionId));
 | 
	
		
			
				|  |  | 		}catch (Exception e){
 | 
	
		
			
				|  |  | 			return failedException(e);
 | 
	
		
			
				|  |  | 		}
 |