| 
					
				 | 
			
			
				@ -7963,6 +7963,12 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        patient.setPassword(MD5.md5Hex(pw + "{" + salt + "}")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        patient.setSalt(salt); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        patient.setMobile(mobile); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        String sexString =IdCardUtil.getSexForIdcard_new(idcard); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        if (StringUtils.isNoneBlank(sexString)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            patient.setSex(Integer.parseInt(sexString)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            patient.setSex(3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        patient.setDel("1"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        patient.setEnabled(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                        patient.setLocked(0); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -8460,6 +8466,12 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String pw = mobile.substring(mobile.length() - 6); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            patient.setIdcard(archiveVO.getSfzhao()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String sexString =IdCardUtil.getSexForIdcard_new(archiveVO.getSfzhao()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if (StringUtils.isNoneBlank(sexString)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                patient.setSex(Integer.parseInt(sexString)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                patient.setSex(3); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            patient.setName(archiveVO.getXming0()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            patient.setPassword(MD5.md5Hex(pw + "{" + salt + "}")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            patient.setSalt(salt); 
			 |