Commit ed948c8737054da4631a70802a2e49734ed2f944
1 parent
41ef89320c
Exists in
master
and in
8 other branches
commit
Showing 1 changed file with 7 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
ed948c8
... | ... | @@ -1707,12 +1707,15 @@ |
1707 | 1707 | } catch (Exception e) { |
1708 | 1708 | } |
1709 | 1709 | String doctorId = antExChuModel.getProdDoctor(); |
1710 | - Users users = usersService.getUsers(Integer.valueOf(doctorId)); | |
1711 | 1710 | Map<String, String> map1 = new HashMap<>(); |
1712 | - if (null != users) { | |
1713 | - map1.put("id", users.getId() + ""); | |
1714 | - map1.put("name", users.getName()); | |
1711 | + if(StringUtils.isNotEmpty(doctorId)){ | |
1712 | + Users users = usersService.getUsers(Integer.valueOf(doctorId)); | |
1713 | + if (null != users) { | |
1714 | + map1.put("id", users.getId() + ""); | |
1715 | + map1.put("name", users.getName()); | |
1716 | + } | |
1715 | 1717 | } |
1718 | + | |
1716 | 1719 | antexChuResult.setProdDoctor(map1); |
1717 | 1720 | ReferralApplyOrderQuery referralApplyOrderQuery = new ReferralApplyOrderQuery(); |
1718 | 1721 | referralApplyOrderQuery.setParentId(antExChuModel.getParentId()); |