|  | @ -28,6 +28,7 @@ import com.yihu.wlyy.service.app.label.SignPatientLabelInfoService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.message.MessageService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.scheduling.DoctorWorkTimeService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.team.AdminTeamService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.third.jw.JwArchivesService;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.task.PushMsgTask;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.task.SignUploadTask;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.util.*;
 | 
	
	
		
			
				|  | @ -128,6 +129,8 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |     private SignFamilyRenewDao signFamilyRenewDao;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private SignFamilyMappingDao signFamilyMappingDao;
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private JwArchivesService jwArchivesService;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Autowired
 | 
	
		
			
				|  |  |     private ImUtill ImUtill;
 | 
	
	
		
			
				|  | @ -4055,4 +4058,13 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |         Integer patients = jdbcTemplate.queryForObject(sb.toString(), params.toArray(), Integer.class);
 | 
	
		
			
				|  |  |         return patients;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public String getSickArchiveFlag(String patient)throws Exception{
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         Patient p = patientDao.findByCode(patient);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         String rs = jwArchivesService.getSickArchiveFlag(p.getIdcard());
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         return rs ;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | }
 |