Commit 7aea721ee5772dd2e9366335db42303a765e5262
1 parent
ae951aab58
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 12 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyPsychologistFacade.java
View file @
7aea721
... | ... | @@ -252,6 +252,9 @@ |
252 | 252 | babyPsychologistResult.setCheckDoctor(users.getName()); |
253 | 253 | } |
254 | 254 | } |
255 | + if(StringUtils.isNotEmpty(babyPsychologistModel.getHospitalId())){ | |
256 | + babyPsychologistResult.setHospitalName(CommonsHelper.getHospitalName(babyPsychologistModel.getHospitalId(), organizationService)); | |
257 | + } | |
255 | 258 | babyPsychologistResult.setHospitalId(CommonsHelper.getHospitalName(babyPsychologistModel.getHospitalId(), organizationService)); |
256 | 259 | br.setData(babyPsychologistResult); |
257 | 260 | br.setErrorcode(ErrorCodeConstants.SUCCESS); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/BabyPsychologistResult.java
View file @
7aea721
... | ... | @@ -20,6 +20,7 @@ |
20 | 20 | private Date createDate; |
21 | 21 | private Date modifyDate; |
22 | 22 | private String hospitalId; |
23 | + private String hospitalName; | |
23 | 24 | |
24 | 25 | /*母亲信息*/ |
25 | 26 | //母亲姓名 |
... | ... | @@ -218,6 +219,14 @@ |
218 | 219 | |
219 | 220 | public void setHospitalId(String hospitalId) { |
220 | 221 | this.hospitalId = hospitalId; |
222 | + } | |
223 | + | |
224 | + public String getHospitalName() { | |
225 | + return hospitalName; | |
226 | + } | |
227 | + | |
228 | + public void setHospitalName(String hospitalName) { | |
229 | + this.hospitalName = hospitalName; | |
221 | 230 | } |
222 | 231 | |
223 | 232 | public String getMname() { |