Commit bac3e8619812c140a1ce6883cd249a09a839477c

Authored by liquanyu
1 parent 6f52924d92

update

Showing 1 changed file with 2 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PreEugebicsServiceImpl.java View file @ bac3e86
... ... @@ -629,6 +629,7 @@
629 629  
630 630 yquery.addCriteria(Criteria.where("hyj").is(0));
631 631 yquery.addCriteria(Criteria.where("hospitalId").is(hospitalId));
  632 + yquery.addCriteria(Criteria.where("wifeCurrentStreet").is(item.getId()));
632 633 long yjCount = mongoTemplate.count(yquery, PreEugenicsBaseModel.class);
633 634 yjAllCount += yjCount;
634 635  
... ... @@ -637,6 +638,7 @@
637 638 tquery.addCriteria(Criteria.where("hospitalId").is(hospitalId));
638 639 tquery.addCriteria(Criteria.where("fillDate").gte(start).lte(end));
639 640 tquery.addCriteria(Criteria.where("hyj").is(1));
  641 + tquery.addCriteria(Criteria.where("wifeCurrentStreet").is(item.getId()));
640 642 long tcCount = mongoTemplate.count(tquery, PreEugenicsBaseModel.class);
641 643 tcAllCount += tcCount;
642 644