| 
					
				 | 
			
			
				@ -62,6 +62,8 @@ public class WlyyUserDetailsService extends JdbcDaoSupport implements UserDetail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private static final String PATIENT_INSERT_WEHCAT = "insert into base_patient_wechat (id,wechat_id,patient_id,openid,create_time) values(?,?,?,?,?)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private static final String UPDATE_PATIENT_CARD_TYPE = "update base_patient set card_type = ? where id = ?"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private static final String BespeakRegist = "bespeakRegist:"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -477,6 +479,13 @@ public class WlyyUserDetailsService extends JdbcDaoSupport implements UserDetail 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    basePatientFamilyMemberDO.setFamilyMember(patientDO.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    familyMemberDao.save(basePatientFamilyMemberDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                this.getJdbcTemplate().update(UPDATE_PATIENT_CARD_TYPE, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        new Object[]{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                data[2], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                users.get(0).getId() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return users; 
			 |