Commit e0c4c6df782bba3a44f1ce50649a41fd14f90268
1 parent
bb24384121
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java
View file @
e0c4c6d
... | ... | @@ -203,7 +203,9 @@ |
203 | 203 | |
204 | 204 | user.setRoles(this.getUserRoles(user.getId())); |
205 | 205 | user.setDepartmentses(departmentsService.getDepartments(user.getDeptId())); |
206 | - | |
206 | + if(null!=user.getZhiChenId()){ | |
207 | + user.setZhiChen(ZhiChenEnums.getById(user.getZhiChenId())); | |
208 | + } | |
207 | 209 | // user.setPwd(StringUtils.isEmpty(user.getPwd())?user.getPwd():user.getPwd().replaceAll(".","*")); |
208 | 210 | user.setPwd(replacePwd); |
209 | 211 | } |