Commit b8a6d0947a7cb1e7a29fbbe41f1c59e369f233eb

Authored by liquanyu
1 parent 835d6afe50

助产机构报表

Showing 1 changed file with 8 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java View file @ b8a6d09
... ... @@ -398,7 +398,14 @@
398 398 {
399 399 for (MaternalDeliverModel fm : fmList)
400 400 {
401   - zcBabyCount+=fm.getBaby().size();
  401 + for (MaternalDeliverModel.Baby baby : fm.getBaby())
  402 + {
  403 + //只统计活产
  404 + if ("0".equals(baby.getPregnancyOut()))
  405 + {
  406 + zcBabyCount++;
  407 + }
  408 + }
402 409 }
403 410 }
404 411 fmList.clear();