|  | @ -1,6 +1,8 @@
 | 
	
		
			
				|  |  | package com.yihu.jw.hospital.family.service;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import com.alibaba.fastjson.JSONObject;
 | 
	
		
			
				|  |  | import com.yihu.jw.dict.dao.BaseJobCategoryDao;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.dict.BaseJobCategoryDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.patient.BasePatientDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.patient.PatientMedicareCardDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.family.BasePatientMemberDictDO;
 | 
	
	
		
			
				|  | @ -62,6 +64,8 @@ public class WlyyFamilyMemberService extends BaseJpaService<WlyyPatientFamilyMem
 | 
	
		
			
				|  |  |     private YkyyService ykyyService;
 | 
	
		
			
				|  |  |     @Value("${wechat.id}")
 | 
	
		
			
				|  |  |     private String wxId;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private BaseJobCategoryDao baseJobCategoryDao;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     //添加关联家属
 | 
	
		
			
				|  |  |     @Transactional
 | 
	
	
		
			
				|  | @ -614,6 +618,14 @@ public class WlyyFamilyMemberService extends BaseJpaService<WlyyPatientFamilyMem
 | 
	
		
			
				|  |  |                             if (object!=null){
 | 
	
		
			
				|  |  |                                 map.put("address",object.getString("address"));
 | 
	
		
			
				|  |  |                                 map.put("zydm",object.getString("zydm"));
 | 
	
		
			
				|  |  |                                 if (StringUtils.isNotBlank(object.getString("zydm"))){
 | 
	
		
			
				|  |  |                                     BaseJobCategoryDO jobCategoryDO = baseJobCategoryDao.findOne(Integer.parseInt(object.getString("zydm")));
 | 
	
		
			
				|  |  |                                     if (jobCategoryDO!=null){
 | 
	
		
			
				|  |  |                                         map.put("zydmName",jobCategoryDO.getName());
 | 
	
		
			
				|  |  |                                     }
 | 
	
		
			
				|  |  |                                 }else {
 | 
	
		
			
				|  |  |                                     map.put("zydmName","");
 | 
	
		
			
				|  |  |                                 }
 | 
	
		
			
				|  |  |                                 map.put("jtdh",object.getString("jtdh"));
 | 
	
		
			
				|  |  |                             }
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -622,6 +634,7 @@ public class WlyyFamilyMemberService extends BaseJpaService<WlyyPatientFamilyMem
 | 
	
		
			
				|  |  |                             map.put("address","");
 | 
	
		
			
				|  |  |                             map.put("zydm","");
 | 
	
		
			
				|  |  |                             map.put("jtdh","");
 | 
	
		
			
				|  |  |                             map.put("zydmName","");
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |                         }
 | 
	
		
			
				|  |  | 
 |