Commit 127b751ffb1a1caf950c1813ada69712ce13eef8
1 parent
1e11e1f1f3
Exists in
master
and in
1 other branch
增加设置parentid
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
127b751
... | ... | @@ -435,7 +435,7 @@ |
435 | 435 | //初诊记录 |
436 | 436 | AntExChuQuery antExChuQuery = new AntExChuQuery(); |
437 | 437 | antExChuQuery.setYn(YnEnums.YES.getId()); |
438 | - antExChuQuery.setStart(patients.getCreated()); | |
438 | + antExChuQuery.setStart(patients.getBookbuildingDate()); | |
439 | 439 | antExChuQuery.setEnd(new Date(date.getTime() + 86398000)); |
440 | 440 | antExChuQuery.setParentId(patients.getId()); |
441 | 441 | List<AntExChuModel> antExChuModels = antenatalExaminationService.queryAntExChu(antExChuQuery); |
... | ... | @@ -452,7 +452,7 @@ |
452 | 452 | AntExQuery antExQuery = new AntExQuery(); |
453 | 453 | antExQuery.setYn(YnEnums.YES.getId()); |
454 | 454 | antExQuery.setParentId(patients.getId()); |
455 | - antExQuery.setStart(patients.getCreated()); | |
455 | + antExQuery.setStart(patients.getBookbuildingDate()); | |
456 | 456 | antExQuery.setEnd(new Date(date.getTime() + 86398000)); |
457 | 457 | List<AntenatalExaminationModel> list1 = antenatalExaminationService.queryAntenatalExamination(antExQuery.convertToQuery()); |
458 | 458 | if (CollectionUtils.isNotEmpty(list1)) { |