Commit ef7d90cfa5c0bd570543f287713843b009e30a5f
1 parent
da4e6aa688
Exists in
master
and in
8 other branches
建档外院医生显示
Showing 3 changed files with 9 additions and 9 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
ef7d90c
... | ... | @@ -777,12 +777,12 @@ |
777 | 777 | |
778 | 778 | if (StringUtils.isNotEmpty(model.getBuildDoctor())) |
779 | 779 | { |
780 | - Organization org = organizationService.getOrganization(Integer.parseInt(model.getBuildDoctor())); | |
781 | - if (org != null) | |
780 | + Users users = usersService.getUsers(Integer.parseInt(model.getBuildDoctor())); | |
781 | + if (users != null) | |
782 | 782 | { |
783 | 783 | Map<String,String> doctorObj = new HashMap<>(); |
784 | 784 | doctorObj.put("id",model.getBuildDoctor()); |
785 | - doctorObj.put("name",org.getName()); | |
785 | + doctorObj.put("name",users.getName()); | |
786 | 786 | result.setBuildDoctor(doctorObj); |
787 | 787 | } |
788 | 788 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
ef7d90c
... | ... | @@ -655,12 +655,12 @@ |
655 | 655 | |
656 | 656 | if (StringUtils.isNotEmpty(checkModel.getCheckDoctor())) |
657 | 657 | { |
658 | - Organization org = organizationService.getOrganization(Integer.parseInt(checkModel.getCheckDoctor())); | |
659 | - if (org != null) | |
658 | + Users users = usersService.getUsers(Integer.parseInt(checkModel.getCheckDoctor())); | |
659 | + if (users != null) | |
660 | 660 | { |
661 | 661 | Map<String,String> doctorObj = new HashMap<>(); |
662 | 662 | doctorObj.put("id",checkModel.getCheckDoctor()); |
663 | - doctorObj.put("name",org.getName()); | |
663 | + doctorObj.put("name",users.getName()); | |
664 | 664 | model.setCheckDoctor(doctorObj); |
665 | 665 | } |
666 | 666 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
ef7d90c
... | ... | @@ -691,12 +691,12 @@ |
691 | 691 | |
692 | 692 | if (StringUtils.isNotEmpty(p.getBookbuildingDoctor())) |
693 | 693 | { |
694 | - Organization org = organizationService.getOrganization(Integer.parseInt(p.getBookbuildingDoctor())); | |
695 | - if (org != null) | |
694 | + Users users = usersService.getUsers(Integer.parseInt(p.getBookbuildingDoctor())); | |
695 | + if (users != null) | |
696 | 696 | { |
697 | 697 | Map<String,String> doctorObj = new HashMap<>(); |
698 | 698 | doctorObj.put("id",p.getBookbuildingDoctor()); |
699 | - doctorObj.put("name",org.getName()); | |
699 | + doctorObj.put("name",users.getName()); | |
700 | 700 | result.setBookbuildingDoctor(doctorObj); |
701 | 701 | } |
702 | 702 | } |