Commit 5d39f8f6b2730158825719ba39b3f303563ffb80

Authored by liquanyu
1 parent 477fd89826

孕妇处方报表

Showing 2 changed files with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java View file @ 5d39f8f
... ... @@ -1994,7 +1994,7 @@
1994 1994 Aggregation.newAggregation(
1995 1995 Aggregation.match(Criteria.where("hospitalId").is(hospitalId).and("type")
1996 1996 .is(1).and("nextCheckTime").gte(DateUtil.getDayFirstSecond(start)).lte(DateUtil.getDayLastSecond(end))),
1997   - Aggregation.group("patientId").count().as("总人数"));
  1997 + Aggregation.group("checkId").count().as("总人数"));
1998 1998 AggregationResults<BasicDBObject> outputTypeCount4 =
1999 1999 mongoTemplate.aggregate(aggregation4, "lyms_check_item_order", BasicDBObject.class);
2000 2000 return outputTypeCount4.getMappedResults().size();
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java View file @ 5d39f8f
... ... @@ -3300,7 +3300,7 @@
3300 3300 Aggregation.newAggregation(
3301 3301 Aggregation.match(Criteria.where("hospitalId").is(hospitalId).and("type")
3302 3302 .is(2).and("nextCheckTime").gte(DateUtil.getDayFirstSecond(start)).lte(DateUtil.getDayLastSecond(end))),
3303   - Aggregation.group("patientId").count().as("总人数"));
  3303 + Aggregation.group("checkId").count().as("总人数"));
3304 3304 AggregationResults<BasicDBObject> outputTypeCount4 =
3305 3305 mongoTemplate.aggregate(aggregation4, "lyms_check_item_order", BasicDBObject.class);
3306 3306 return outputTypeCount4.getMappedResults().size();