Commit a364f3e902f4c770f24b37294bf9ebd690cc4803
1 parent
9b46da3357
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 12 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BreastFacade.java
View file @
a364f3e
| ... | ... | @@ -268,6 +268,12 @@ |
| 268 | 268 | BreastResult breastResult = new BreastResult(); |
| 269 | 269 | if (breastModel != null) { |
| 270 | 270 | breastResult.convertToResult(breastModel); |
| 271 | + if (StringUtils.isNotEmpty(breastModel.getCheckDoctor())) { | |
| 272 | + Users users = usersService.getUsers(NumberUtils.toInt(breastModel.getCheckDoctor())); | |
| 273 | + if (users != null && StringUtils.isNotEmpty(users.getName())) { | |
| 274 | + breastResult.setCheckDoctor(users.getName()); | |
| 275 | + } | |
| 276 | + } | |
| 271 | 277 | if (StringUtils.isNotEmpty(breastModel.getHospitalId())) { |
| 272 | 278 | breastResult.setHospitalName(CommonsHelper.getHospitalName(breastModel.getHospitalId(), organizationService)); |
| 273 | 279 | } |
| ... | ... | @@ -316,6 +322,12 @@ |
| 316 | 322 | BreastResult breastResult = new BreastResult(); |
| 317 | 323 | if (breastResult != null) { |
| 318 | 324 | breastResult.convertToResult(breastModel); |
| 325 | + if (StringUtils.isNotEmpty(breastModel.getCheckDoctor())) { | |
| 326 | + Users users = usersService.getUsers(NumberUtils.toInt(breastModel.getCheckDoctor())); | |
| 327 | + if (users != null && StringUtils.isNotEmpty(users.getName())) { | |
| 328 | + breastResult.setCheckDoctor(users.getName()); | |
| 329 | + } | |
| 330 | + } | |
| 319 | 331 | breastResult.setHospitalName(CommonsHelper.getHospitalName(breastModel.getHospitalId(), organizationService)); |
| 320 | 332 | breastResultList.add(breastResult); |
| 321 | 333 | } |