| 
					
				 | 
			
			
				@ -1198,8 +1198,15 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (wechatId.equalsIgnoreCase("xm_xzzx_wx")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("心脏中心同步患者开始"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            xzzxEntranceService.updatePatientMapping(outpatient.getConsumer(),outpatient.getCardNo()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            xzzxEntranceService.updatePatientMapping(outpatient.getPatient(),outpatient.getCardNo()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("同步患者id成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }else if (wechatId.equalsIgnoreCase("xm_ykyy_wx")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("眼科中心患者档案查询"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            PatientMappingDO patientMappingDO = patientMappingDao.findByPatient(outpatient.getPatient()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (patientMappingDO==null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                throw new Exception("您的信息在院内无档案,请确认就诊人信息,并重新保存就诊人信息!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("眼科中心患者档案查询"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 |