| 
					
				 | 
			
			
				@ -263,10 +263,10 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    JSONObject json = jsonArray.getJSONObject(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    Map info = new HashMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("code", json.getString("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("patient", json.getString("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("name", json.getString("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("photo",json.getString("photo").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("age",json.getString("age").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("age",json.getInt("age")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("sex",json.getString("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("hasopenid",json.getString("hasopenid").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -274,7 +274,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                int length = codes.size(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("label", labelName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("codes", codes); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("ps", codes); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("number", length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                listNum.add(map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                count += length; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -287,10 +287,10 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    JSONObject json = noGroup.getJSONObject(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    Map info = new HashMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("code", json.getString("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("patient", json.getString("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("name", json.getString("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("photo",json.getString("photo").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("age",json.getString("age").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("age",json.getInt("age")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("sex",json.getString("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    info.put("hasopenid",json.getString("hasopenid").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -299,7 +299,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                Map map = new HashMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                int size = noGroup.length(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("label", "未标注"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("codes", codes); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("ps", codes); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                map.put("number", size); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                listNum.add(map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                count += size; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -310,6 +310,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            map.put("patients", listNum); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return write(200, "查询成功", "data", map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            error(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return error(-1, "查询失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1310,7 +1311,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    for (Object patient : jsonArray) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject jsonObject = new JSONObject(patient.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        Map<String,Object> p = new HashedMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("code",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("patient",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("name",jsonObject.get("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("sex",jsonObject.get("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("age",jsonObject.get("age").toString()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1331,7 +1332,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    for (Object patient : jsonArray) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject jsonObject = new JSONObject(patient.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        Map<String,Object> p = new HashedMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("code",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("patient",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("name",jsonObject.get("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("sex",jsonObject.get("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("age",jsonObject.get("age").toString()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1354,7 +1355,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    for (Object str : jsonArray) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject jsonObject = new JSONObject(str.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        Map<String,Object> p = new HashedMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("code",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("patient",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("name",jsonObject.get("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("sex",jsonObject.get("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("age",jsonObject.get("age").toString()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1374,7 +1375,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    for (Object str : jsonArray1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject jsonObject = new JSONObject(str.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        Map<String,Object> p = new HashedMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("code",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("patient",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("name",jsonObject.get("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("sex",jsonObject.get("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("age",jsonObject.get("age").toString()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -1394,7 +1395,7 @@ public class DoctorFamilyContractController extends WeixinBaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    for (Object str : jsonArray2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        JSONObject jsonObject = new JSONObject(str.toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        Map<String,Object> p = new HashedMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("code",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("patient",jsonObject.get("code").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("name",jsonObject.get("name").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("sex",jsonObject.get("sex").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        p.put("age",jsonObject.get("age").toString()); 
			 |