Commit 39f6c9d189d4fdf6e44c1eb27af95b3635565d07
1 parent
7cfb2f7747
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java
View file @
39f6c9d
... | ... | @@ -137,7 +137,7 @@ |
137 | 137 | LymsPatient patient2 = lymsPatientService.getOne(Wrappers.query(tmpP).eq("idno", patient.getIdno())); |
138 | 138 | if (patient2 == null) { |
139 | 139 | patient.setCreatedtime(new Date()); |
140 | - patient.setPpasswd(Constant.COMMON_PASSWD); | |
140 | + patient.setPpasswd(DigestUtils.md5DigestAsHex(Constant.COMMON_PASSWD.getBytes())); | |
141 | 141 | } else { |
142 | 142 | //今天有这个患者疾病的病例不用添加(这里防止同一天平台重复添加病例疾病) |
143 | 143 | QueryWrapper<LymsPcase> queryWrapper = new QueryWrapper<>(); |