Commit cf98044cf0ae233516d3ebf700b4df112f711da9
1 parent
6a1f46d568
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
cf98044
| ... | ... | @@ -351,7 +351,10 @@ |
| 351 | 351 | teamModel.setPatientPhone(p.getPhone()); |
| 352 | 352 | teamModel.setPatientDueDate(p.getDueDate()); |
| 353 | 353 | teamModel.setPatientGestation(antExAddRequest.getCurrentDueDate()); |
| 354 | - teamModel.setDoctorName(antExAddRequest.getCheckDoctor()); | |
| 354 | + Users users = usersService.getUsers(NumberUtils.toInt(antExAddRequest.getCheckDoctor())); | |
| 355 | + if (null != users) { | |
| 356 | + teamModel.setDoctorName(users.getName()); | |
| 357 | + } | |
| 355 | 358 | teamModel.setOldTeamName(antExAddRequest.getOldTeamName()); |
| 356 | 359 | teamModel.setTeamName(antExAddRequest.getTeamName()); |
| 357 | 360 | teamModel.setCreated(new Date()); |