|  | @ -40,6 +40,8 @@ public class MyFamilyService {
 | 
	
		
			
				|  |  |     private PatientApplyLogService patientApplyLogService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private BasePatientMedicardCardService  patientMedicareCardService;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  | //    private com.yihu.jw.patient.service.service_package.PackageService packageService;
 | 
	
		
			
				|  |  |     LinkedList<String> role = new LinkedList<>(Arrays.asList("配偶","父亲","母亲","公公","婆婆","岳父","岳母","女婿","儿媳","子女"));
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public List<Map<String,Object>> getMyFamilyBindingRole(String patient) throws Exception{
 | 
	
	
		
			
				|  | @ -242,7 +244,7 @@ public class MyFamilyService {
 | 
	
		
			
				|  |  |      * @return
 | 
	
		
			
				|  |  |      * @throws Exception
 | 
	
		
			
				|  |  |      */
 | 
	
		
			
				|  |  |     public List<Map<String,Object>> getBindingList(String patient) throws Exception{
 | 
	
		
			
				|  |  |     public List<Map<String,Object>> getBindingList(String patient,String packageId) throws Exception{
 | 
	
		
			
				|  |  |         List<Map<String,Object>> resultList = new LinkedList<>();
 | 
	
		
			
				|  |  |         List<BasePatientFamilyMemberDO> list = patientFamilyMemberService.getByPatientAndFamilyMember(patient);
 | 
	
		
			
				|  |  |         String patientTemp = null;
 | 
	
	
		
			
				|  | @ -262,6 +264,14 @@ public class MyFamilyService {
 | 
	
		
			
				|  |  |             map.put("principalNum","");//社保卡号
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         map.put("mobile",basePatientDO.getMobile());//手机号码
 | 
	
		
			
				|  |  |         if(StringUtils.isEmpty(packageId)){
 | 
	
		
			
				|  |  |             if(packageService.findPatientSignExist(patient,packageId)){
 | 
	
		
			
				|  |  |                 map.put("isPackage",1);
 | 
	
		
			
				|  |  |             }else{
 | 
	
		
			
				|  |  |                 map.put("isPackage",0);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         resultList.add(map);
 | 
	
		
			
				|  |  |         //家人
 | 
	
		
			
				|  |  |         for(BasePatientFamilyMemberDO one:list){
 | 
	
	
		
			
				|  | @ -285,6 +295,14 @@ public class MyFamilyService {
 | 
	
		
			
				|  |  |                 map2.put("principalNum","");//社保卡号
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             map2.put("mobile",basePatientDO.getMobile());//手机号码
 | 
	
		
			
				|  |  |             if(StringUtils.isEmpty(packageId)){
 | 
	
		
			
				|  |  |                 if(packageService.findPatientSignExist(patient,packageId)){
 | 
	
		
			
				|  |  |                     map2.put("isPackage",1);
 | 
	
		
			
				|  |  |                 }else{
 | 
	
		
			
				|  |  |                     map2.put("isPackage",0);
 | 
	
		
			
				|  |  |                 }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             resultList.add(map2);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         return resultList;
 |