Commit 6ec75af3640c4f45a23427e1c35e00beeeeaa388
1 parent
a8e9c6122a
Exists in
master
and in
6 other branches
新曾高危优化
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java
View file @
6ec75af
... | ... | @@ -682,10 +682,10 @@ |
682 | 682 | if (list.size() == 1) { |
683 | 683 | AntExRecordModel oneRecord = list.get(0); |
684 | 684 | if (!(CollectionUtils.isNotEmpty(oneRecord.gethRisk()) && oneRecord.gethRisk().contains("d42eec03-aa86-45b8-a4e0-78a0ff365fb6"))) { |
685 | - if (CollectionUtils.isNotEmpty(oneRecord.gethRisk())) { | |
685 | + if (CollectionUtils.isNotEmpty(oneRecord.gethRisk()) && oneRecord.getType() == 2) { | |
686 | 686 | beforeRecordQuery.setParentId(patientId); |
687 | 687 | beforeRecordQuery.setCheckTimeEnd(oneRecord.getCheckTime()); |
688 | - beforeRecordQuery.setNeqId(oneRecord.getId()); | |
688 | + //beforeRecordQuery.setNeqId(oneRecord.getId()); | |
689 | 689 | List<AntExRecordModel> beforeAntRecords = recordService.queryAntExRecords(beforeRecordQuery); |
690 | 690 | if (CollectionUtils.isNotEmpty(beforeAntRecords)) { |
691 | 691 | AntExRecordModel twoRecord = beforeAntRecords.get(0); |