| 
					
				 | 
			
			
				@ -341,7 +341,6 @@ public class YkyyService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (object.getString("code").equalsIgnoreCase("200")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject object1 = object.getJSONObject("data"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONArray array = object1.getJSONArray("list"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        userId=object1.getString("USER_ID"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        if (array!=null&&array.size()!=0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            JSONObject jsonObject1 = array.getJSONObject(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            if (jsonObject1!=null){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -352,7 +351,8 @@ public class YkyyService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                patientDao.save(basePatientDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            String birdth = IdCardUtil.getBirthdayForIdcardStr(basePatientDO.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            userId=object1.getString("user_id"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            String birdth = DateUtil.dateToStrShort(IdCardUtil.getBirthdayForIdcard(basePatientDO.getIdcard())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            Integer age = IdCardUtil.getAgeForIdcard(basePatientDO.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            Integer sex = basePatientDO.getSex(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            String family = addFamily(userId,basePatientDO.getIdcard(),basePatientDO.getName(),sex.toString(),birdth,age.toString(),basePatientDO.getMobile()); 
			 |