Commit 685a7e565507df646c8021fbb02b236c9f7cb3fb
1 parent
f285f8ca69
Exists in
master
and in
6 other branches
改bug
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
685a7e5
... | ... | @@ -632,7 +632,8 @@ |
632 | 632 | String parentId = null; |
633 | 633 | List<Patients> patients = mongoTemplate.find(Query.query(Criteria.where("pid").is(userId)).with(new Sort(Sort.Direction.DESC, "created")), Patients.class); |
634 | 634 | for (Patients patient : patients) { |
635 | - if(patient.getCreated().getTime() < createDate.getTime()) { | |
635 | +// System.out.println(patient.getId() + " " + DateUtil.getyyyy_MM_dd_hms(patient.getCreated())); | |
636 | + if(patient.getCreated().getTime() <= createDate.getTime()) { | |
636 | 637 | parentId = patient.getId(); |
637 | 638 | if(type != 1 && type != 3) { |
638 | 639 | break; |