Commit aa8e488442e6b2970be71d0f29dd71f4b72941e0
1 parent
c032c0112e
Exists in
master
and in
8 other branches
修改新电子病历
Showing 1 changed file with 4 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
aa8e488
... | ... | @@ -364,10 +364,12 @@ |
364 | 364 | quanPatientsResult.setCheckDoctor(patients.getLastCheckEmployeeId()); |
365 | 365 | } |
366 | 366 | } |
367 | + antExQuery.setHospitalId(null); | |
367 | 368 | //复诊次数 |
368 | 369 | int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); |
369 | 370 | antExChuQuery.setPid(patients.getPid()); |
370 | 371 | antExChuQuery.setYn(YnEnums.YES.getId()); |
372 | + antExChuQuery.setHospitalId(null); | |
371 | 373 | //初诊次数 |
372 | 374 | int b = antExService.queryAntExChuCount(antExChuQuery.convertToQuery()); |
373 | 375 | quanPatientsResult.setcTimes(i + b); |
374 | 376 | |
... | ... | @@ -441,13 +443,14 @@ |
441 | 443 | } |
442 | 444 | antExQuery.setPid(patients.getPid()); |
443 | 445 | antExQuery.setYn(YnEnums.YES.getId()); |
446 | + antExQuery.setHospitalId(null); | |
444 | 447 | HighScoreResult highScoreResult = antenatalExaminationFacade.findLastRisk(patients.getPid(),true); |
445 | 448 | //复诊次数 |
446 | 449 | int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); |
447 | 450 | antExChuQuery.setPid(patients.getPid()); |
448 | 451 | antExChuQuery.setYn(YnEnums.YES.getId()); |
449 | 452 | //初诊次数 |
450 | - | |
453 | + antExChuQuery.setHospitalId(null); | |
451 | 454 | int b = antExService.queryAntExChuCount(antExChuQuery.convertToQuery()); |
452 | 455 | antExQuery.setHospitalId(hospital); |
453 | 456 | //本院的复诊记录 |