Commit 75889dd3d490e63606e8c54fd07e7cd440a43b2c

Authored by liquanyu
1 parent 090021f599

工位统计

Showing 1 changed file with 14 additions and 12 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientSyncMysqlFacade.java View file @ 75889dd
... ... @@ -3512,8 +3512,8 @@
3512 3512 //孕产妇健康管理人数
3513 3513 PatientsQuery patientsQuery2=new PatientsQuery();
3514 3514 patientsQuery2.setStreetRegisterIds(streetIds);
3515   - patientsQuery.setBuildDaysStart(0);
3516   - patientsQuery.setBuildDaysEnd(1000);
  3515 + patientsQuery2.setBuildDaysStart(0);
  3516 + patientsQuery2.setBuildDaysEnd(1000);
3517 3517 patientsQuery2.setDueStatus(0);
3518 3518 patientsQuery2.setExtEnable(false);
3519 3519 patientsQuery2.setBuildTypeNot(1);
... ... @@ -4326,16 +4326,18 @@
4326 4326 PatientsQuery patientsQuery=new PatientsQuery();
4327 4327 if (CollectionUtils.isNotEmpty(streetIds))
4328 4328 {
4329   - patientsQuery.setDueStatus(0);
4330   - patientsQuery.setExtEnable(false);
4331   - patientsQuery.setBuildTypeNot(1);
4332   - patientsQuery.setIsAutoFm(YnEnums.NO.getId());
4333   - patientsQuery.setBookbuildingDateStart(DateUtil.addYear(new Date(),-20));
4334   - patientsQuery.setBookbuildingDateEnd(endDate);
4335   - patientsQuery.setYn(YnEnums.YES.getId());
4336   - patientsQuery.setStreetRegisterIds(streetIds);
4337   - patientsQuery.setExistLastCheckEmployeeId(true);
4338   - patientsQuery.setType(3);
  4329 + patientsQuery.setStreetRegisterIds(streetIds);
  4330 + patientsQuery.setBuildDaysStart(0);
  4331 + patientsQuery.setBuildDaysEnd(1000);
  4332 + patientsQuery.setDueStatus(0);
  4333 + patientsQuery.setExtEnable(false);
  4334 + patientsQuery.setBuildTypeNot(1);
  4335 + patientsQuery.setIsAutoFm(YnEnums.NO.getId());
  4336 + patientsQuery.setBookbuildingDateStart(DateUtil.addYear(new Date(),-20));
  4337 + patientsQuery.setBookbuildingDateEnd(endDate);
  4338 + patientsQuery.setYn(YnEnums.YES.getId());
  4339 + patientsQuery.setExistLastCheckEmployeeId(true);
  4340 + patientsQuery.setType(3);
4339 4341 patientsQuery.setPage(page);
4340 4342 patientsQuery.setLimit(limit);
4341 4343 patientsQuery.setNeed("Need");