Commit be9ab09091bd6d4a6858e2409a1a6895dea720a2
1 parent
f5e25fb28c
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
be9ab09
... | ... | @@ -1211,7 +1211,7 @@ |
1211 | 1211 | { |
1212 | 1212 | TrackCountRecord record = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(patients.getPid())).with(new Sort(Sort.Direction.DESC, "created")), TrackCountRecord.class); |
1213 | 1213 | System.out.println("record="+record); |
1214 | - AntExRecordModel recordModel = recordModels.get(recordModels.size() - 2); | |
1214 | + AntExRecordModel recordModel = recordModels.get(1); | |
1215 | 1215 | System.out.println("recordModel="+recordModel); |
1216 | 1216 | System.out.println(recordModel.getId()); |
1217 | 1217 | System.out.println(DateUtil.getyyyy_MM_dd(recordModel.getNextCheckTime())); |