Commit 100d55580ab56fe000f1b493cfa7e3d8dbc798af
1 parent
edbf0e2678
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 6 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyStatisticsManagerFacade.java
View file @
100d555
| ... | ... | @@ -73,10 +73,11 @@ | 
| 73 | 73 | babyModelQuery.setBuildDateStart(DateUtil.getSNDate(babyStatisticsManagerBuildDoctorGroupRequest.getBuildDate())[0]); | 
| 74 | 74 | babyModelQuery.setBuildDateEnd(DateUtil.getSNDate(babyStatisticsManagerBuildDoctorGroupRequest.getBuildDate())[1]); | 
| 75 | 75 | } | 
| 76 | - List list = new ArrayList(); | |
| 77 | - list.add("1"); | |
| 78 | - list.add("2"); | |
| 79 | - babyModelQuery.setEnableListNot(list); | |
| 76 | + List buildType = new ArrayList(); | |
| 77 | + buildType.add(1);//儿童直接建档 | |
| 78 | + buildType.add(2);//产妇分娩建档 | |
| 79 | + babyModelQuery.setBuildTypeList(buildType); | |
| 80 | + babyModelQuery.setDataStatus(true);//排除自动建档数据 | |
| 80 | 81 | String hospitalId; | 
| 81 | 82 | try { | 
| 82 | 83 | hospitalId = autoMatchFacade.getHospitalId(babyStatisticsManagerBuildDoctorGroupRequest.getOperatorId()); | 
| ... | ... | @@ -86,7 +87,7 @@ | 
| 86 | 87 | return babyStatisticsManagerBuildDoctorGroupResult; | 
| 87 | 88 | } | 
| 88 | 89 | babyModelQuery.setHospitalId(hospitalId); | 
| 89 | - | |
| 90 | + System.out.println(babyModelQuery.convertToQuery().convertToMongoQuery().toString()); | |
| 90 | 91 | List<HashMap> temp = babyService.babyStatisticsManagerBuildDoctorGroup(babyModelQuery); | 
| 91 | 92 | List<BabyStatisticsManagerBuildDoctorGroupQueryModel> babyStatisticsManagerBuildDoctorGroupQueryModelList = new ArrayList<>(); | 
| 92 | 93 | if (CollectionUtils.isNotEmpty(temp)) { |