Commit bb808b257e58c77290b2a2c4466de52b49bcfd64
1 parent
7b89fb5b17
Exists in
master
and in
6 other branches
公共卫生统计
Showing 1 changed file with 4 additions and 12 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientSyncMysqlFacade.java
View file @
bb808b2
... | ... | @@ -3939,29 +3939,21 @@ |
3939 | 3939 | if (CollectionUtils.isNotEmpty(hospitalIds)) |
3940 | 3940 | { |
3941 | 3941 | //孕13周之前建册的人数 |
3942 | - | |
3943 | 3942 | patientsQuery.setYn(YnEnums.YES.getId()); |
3944 | 3943 | patientsQuery.setHospitalList(hospitalIds); |
3945 | 3944 | patientsQuery.setBuildDaysStart(0); |
3946 | - patientsQuery.setBuildDaysEnd(13*7-1); | |
3947 | - patientsQuery.setExtEnable(false); | |
3948 | - patientsQuery.setBuildTypeNot(1); | |
3945 | + patientsQuery.setBuildDaysEnd(13*7); | |
3949 | 3946 | patientsQuery.setDueStatus(0); |
3950 | 3947 | patientsQuery.setIsAutoFm(YnEnums.NO.getId()); |
3948 | + patientsQuery.setExtEnable(false); | |
3949 | + patientsQuery.setBuildTypeNot(1); | |
3951 | 3950 | patientsQuery.setBookbuildingDateStart(DateUtil.addYear(new Date(),-20)); |
3952 | 3951 | patientsQuery.setBookbuildingDateEnd(endDate); |
3953 | - patientsQuery.setType(3); | |
3952 | + patientsQuery.setType(3); //产妇 | |
3954 | 3953 | patientsQuery.setPage(page); |
3955 | 3954 | patientsQuery.setLimit(limit); |
3956 | 3955 | patientsQuery.setNeed("Need"); |
3957 | - if (type == 1) | |
3958 | - { | |
3959 | 3956 | |
3960 | - } | |
3961 | - else | |
3962 | - { | |
3963 | - | |
3964 | - } | |
3965 | 3957 | List<Patients> datas = patientsService.queryPatient(patientsQuery); |
3966 | 3958 | System.out.println(patientsQuery.convertToQuery().convertToMongoQuery().toString()); |
3967 | 3959 | if (CollectionUtils.isNotEmpty(datas)) |