| 
					
				 | 
			
			
				@ -208,6 +208,10 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								consult.setType(9);//图文复诊 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							WlyyOutpatientDO outpatientDO = outpatientDao.findById(outpatientCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							if (outpatientDO.getStatus().equalsIgnoreCase("-1")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								return failed("患者已取消!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							//咨询类型(1、图文;2、视频,3、图文+视频) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -216,7 +220,6 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							JSONObject result = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							synchronized (outpatientCode.intern()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								if(!"xm_ykyy_wx".equals(wxId)){//中山医院-心脏中心需要挂号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									//1.调用挂号接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									logger.info("调用挂号接口====START"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -336,6 +339,11 @@ public class DoctorConsultEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						consult.setHealthindexType(type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//			int res = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						WlyyOutpatientDO outpatientDO = outpatientDao.findById(outpatientCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						if (outpatientDO.getStatus().equalsIgnoreCase("-1")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							return failed("患者已取消!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						JSONObject result = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
						synchronized (outpatientCode.intern()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 |