| 
					
				 | 
			
			
				@ -156,6 +156,11 @@ public class CreditLogService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (patient == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new Exception("该居民不存在"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        SignFamily signFamily = signFamilyDao.findByPatient(patient.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (signFamily!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hospital",signFamily.getHospital()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hospitalName",signFamily.getHospitalName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("name",patient.getName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("idCard",patient.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("openId",patient.getOpenid()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -274,7 +279,13 @@ public class CreditLogService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (patient == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new Exception("该居民不存在"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        SignFamily signFamily = signFamilyDao.findByPatient(patient.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (signFamily != null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hospital",signFamily.getHospital()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hospitalName",signFamily.getHospitalName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("name",patient.getName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("idCard",patient.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String response = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String url =getBaseUrl() + "selectAccount"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Map<String,String> params = new HashMap<>(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -609,7 +620,12 @@ public class CreditLogService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray jsonArray  = new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for (int i =0 ;i<array.size();i++){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            Patient patient = patientDao.findByCode(array.getString(i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            SignFamily signFamily = signFamilyDao.findByPatient(patient.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONObject jsonObject = (JSONObject) JSONObject.toJSON(patient); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (signFamily != null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                jsonObject.put("hospital",signFamily.getHospital()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                jsonObject.put("hospitalName",signFamily.getHospitalName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            jsonArray.add(jsonObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject object1 = new JSONObject(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -643,6 +659,11 @@ public class CreditLogService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (patient == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new Exception("该居民不存在"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        SignFamily signFamily = signFamilyDao.findByPatient(patient.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (signFamily != null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hospital",signFamily.getHospital()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            object.put("hospitalName",signFamily.getHospitalName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("name",patient.getName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("idCard",patient.getIdcard()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        object.put("openId",patient.getOpenid()); 
			 |