|  | @ -4074,18 +4074,41 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public Map<String,Object> updatePatientInfo(String patient,String name,String idcard,String ssc,Integer sex,String townCode,String townName,String committeeCode,String committeeName,String address){
 | 
	
		
			
				|  |  |     public Map<String,Object> updatePatientInfo(String patient,String name,String idcard,String ssc,Integer sex,String townCode,String townName,String committeeCode,String committeeName,String address,String photo,String mobile){
 | 
	
		
			
				|  |  |         Map<String,Object> rs = new HashedMap();
 | 
	
		
			
				|  |  |         BasePatientDO basePatientDO = basePatientDao.findById(patient);
 | 
	
		
			
				|  |  |         PatientMedicareCardDO patientMedicareCardDO = basePatientMedicareCardDao.findByTypeAndPatientCodeAndDel("A_01",patient,"1");
 | 
	
		
			
				|  |  |         basePatientDO.setName(name);
 | 
	
		
			
				|  |  |         basePatientDO.setIdcard(idcard);
 | 
	
		
			
				|  |  |         basePatientDO.setSex(sex);
 | 
	
		
			
				|  |  |         basePatientDO.setTownCode(townCode);
 | 
	
		
			
				|  |  |         basePatientDO.setTownName(townName);
 | 
	
		
			
				|  |  |         basePatientDO.setCommitteeCode(committeeCode);
 | 
	
		
			
				|  |  |         basePatientDO.setCommitteeName(committeeName);
 | 
	
		
			
				|  |  |         basePatientDO.setAddress(address);
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(name)){
 | 
	
		
			
				|  |  |             basePatientDO.setName(name);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(idcard)){
 | 
	
		
			
				|  |  |             basePatientDO.setIdcard(idcard);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (sex!=null){
 | 
	
		
			
				|  |  |             basePatientDO.setSex(sex);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(townCode)){
 | 
	
		
			
				|  |  |             basePatientDO.setTownCode(townCode);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(townName)){
 | 
	
		
			
				|  |  |             basePatientDO.setTownName(townName);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(committeeCode)){
 | 
	
		
			
				|  |  |             basePatientDO.setCommitteeCode(committeeCode);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(committeeName)){
 | 
	
		
			
				|  |  |             basePatientDO.setCommitteeName(committeeName);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(address)){
 | 
	
		
			
				|  |  |             basePatientDO.setAddress(address);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(photo)){
 | 
	
		
			
				|  |  |             basePatientDO.setPhoto(photo);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if (StringUtils.isNoneBlank(mobile)){
 | 
	
		
			
				|  |  |             basePatientDO.setMobile(mobile);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         basePatientDO = basePatientDao.save(basePatientDO);
 | 
	
		
			
				|  |  |         if (patientMedicareCardDO!=null){
 | 
	
		
			
				|  |  |             patientMedicareCardDO.setCode(ssc);
 |