Commit 4dc4d054223b851e03b2d8c56a0b0b5c9d74bfbf
1 parent
e8b19e2361
Exists in
master
and in
1 other branch
增加设置parentid
Showing 2 changed files with 6 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
4dc4d05
... | ... | @@ -305,6 +305,12 @@ |
305 | 305 | if (CollectionUtils.isNotEmpty(withList)) { |
306 | 306 | chanResult.setcTimes(withList.size()); |
307 | 307 | nextCheckTime = withList.get(0).getNextCheckTime(); |
308 | + if(StringUtils.isNotEmpty(withList.get(0).getProdDoctor())){ | |
309 | + Users users = usersService.getUsers(NumberUtils.toInt(withList.get(0).getProdDoctor())); | |
310 | + if(null!=users){ | |
311 | + chanResult.setCheckDoctor(users.getName()); | |
312 | + } | |
313 | + } | |
308 | 314 | } |
309 | 315 | chanResult.setNextCheckTime(nextCheckTime); |
310 | 316 | data.add(chanResult); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/QuanChanResult.java
View file @
4dc4d05
... | ... | @@ -146,7 +146,6 @@ |
146 | 146 | public QuanChanResult convertToResult(Patients destModel) { |
147 | 147 | setId(destModel.getId()); |
148 | 148 | setAge(destModel.getAge()); |
149 | - setCheckDoctor(destModel.getLastReportDoctorName()); | |
150 | 149 | setName(destModel.getUsername()); |
151 | 150 | setPhone(StringUtils.encryPhone(destModel.getPhone())); |
152 | 151 | if (null != destModel.getFmDate()) { |