Commit da20006cc9a743e07540144efad2ed2fec8119a7

Authored by liquanyu
1 parent b8a6d0947a

助产机构报表

Showing 1 changed file with 10 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/DueOrgCountWorker.java View file @ da20006
... ... @@ -428,6 +428,10 @@
428 428 patientsQuery2.setType(3);
429 429 patientsQuery2.setProvinceRegisterId(params.get("provinceId"));
430 430 patientsQuery2.setNoCityRegisterId(params.get("cityId"));
  431 + if("216".equals(hospialId))
  432 + {
  433 + System.out.println("bswsCount==="+patientsQuery2.convertToQuery().convertToMongoQuery().toString());
  434 + }
431 435 int bswsCount = patientsService.queryPatientCount(patientsQuery2);
432 436 map.put("bswsCount", String.valueOf(bswsCount));
433 437  
... ... @@ -464,6 +468,12 @@
464 468 patientsQuery4.setType(3);
465 469 patientsQuery4.setAreaRegisterId(basicConfig.getId());
466 470 int areaCount = patientsService.queryPatientCount(patientsQuery4);
  471 +
  472 + if("216".equals(hospialId))
  473 + {
  474 + System.out.println(basicConfig.getId()+ "areaCount==="+patientsQuery4.convertToQuery().convertToMongoQuery().toString());
  475 + }
  476 +
467 477 map.put("areaCount"+index, String.valueOf(areaCount));
468 478 index++;
469 479 }