Commit 0eb401ab9947276e1d59376fec5a8ce1fd810786
1 parent
fbd55dc84c
Exists in
master
and in
8 other branches
增加设置parentid
Showing 1 changed file with 5 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
0eb401a
| ... | ... | @@ -298,7 +298,7 @@ |
| 298 | 298 | } |
| 299 | 299 | //复查次数 |
| 300 | 300 | PostReviewQuery postReviewQuery=new PostReviewQuery(); |
| 301 | - postReviewQuery.setParentId(patients.getId()); | |
| 301 | + postReviewQuery.setPid(patients.getPid()); | |
| 302 | 302 | postReviewQuery.setYn(YnEnums.YES.getId()); |
| 303 | 303 | List<PostReviewModel> withList = postReviewService.findWithList(postReviewQuery.convertToQuery().addOrder(Sort.Direction.DESC, "created")); |
| 304 | 304 | |
| ... | ... | @@ -336,7 +336,7 @@ |
| 336 | 336 | for (Patients patients : patientses) { |
| 337 | 337 | QuanPatientsResult quanPatientsResult = new QuanPatientsResult(); |
| 338 | 338 | quanPatientsResult.convertToResult(patients); |
| 339 | - antExQuery.setParentId(patients.getId()); | |
| 339 | + antExQuery.setPid(patients.getPid()); | |
| 340 | 340 | antExQuery.setYn(YnEnums.YES.getId()); |
| 341 | 341 | if (StringUtils.isNotEmpty(patients.getBookbuildingDoctor())) { |
| 342 | 342 | if (NumberUtils.isNumber(patients.getBookbuildingDoctor())) { |
| ... | ... | @@ -365,7 +365,7 @@ |
| 365 | 365 | } |
| 366 | 366 | //复诊次数 |
| 367 | 367 | int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); |
| 368 | - antExChuQuery.setParentId(patients.getId()); | |
| 368 | + antExChuQuery.setPid(patients.getPid()); | |
| 369 | 369 | antExChuQuery.setYn(YnEnums.YES.getId()); |
| 370 | 370 | //初诊次数 |
| 371 | 371 | int b = antExService.queryAntExChuCount(antExChuQuery.convertToQuery()); |
| 372 | 372 | |
| ... | ... | @@ -438,12 +438,12 @@ |
| 438 | 438 | riskPatientsResult.setCheckDoctor(patients.getLastCheckEmployeeId()); |
| 439 | 439 | } |
| 440 | 440 | } |
| 441 | - antExQuery.setParentId(patients.getId()); | |
| 441 | + antExQuery.setPid(patients.getPid()); | |
| 442 | 442 | antExQuery.setYn(YnEnums.YES.getId()); |
| 443 | 443 | HighScoreResult highScoreResult = antenatalExaminationFacade.findLastRisk(patients.getPid(),true); |
| 444 | 444 | //复诊次数 |
| 445 | 445 | int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); |
| 446 | - antExChuQuery.setParentId(patients.getId()); | |
| 446 | + antExChuQuery.setPid(patients.getPid()); | |
| 447 | 447 | antExChuQuery.setYn(YnEnums.YES.getId()); |
| 448 | 448 | //初诊次数 |
| 449 | 449 |