Commit dc2ba828c02a3f34d236a4cda68a8d8dec54ad81
1 parent
2e43936e6f
Exists in
master
patient_login
Showing 1 changed file with 1 additions and 0 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java
View file @
dc2ba82
... | ... | @@ -124,6 +124,7 @@ |
124 | 124 | LymsPatient patient2 = lymsPatientService.getOne(Wrappers.query(patient).eq("idno", patient.getIdno())); |
125 | 125 | if (patient2 == null) { |
126 | 126 | patient.setCreatedtime(new Date()); |
127 | + patient.setPpasswd(Constant.COMMON_PASSWD); | |
127 | 128 | } else { |
128 | 129 | patient.setId(patient2.getId()); |
129 | 130 | patient.setUpdatedtime(new Date()); |