Commit 99b42c55395d672f2eb424473c2ccd30a94132aa

Authored by shiyang
1 parent 06ca209dd5

update

Showing 1 changed file with 8 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ 99b42c5
... ... @@ -6190,6 +6190,8 @@
6190 6190 public BaseResponse queryBabyBuildStatistical(BabyModelQuery babyModelQuery, Integer userId) {
6191 6191 String hospitalId = autoMatchFacade.getHospitalId(userId);
6192 6192 babyModelQuery.setHospitalId(hospitalId);
  6193 + babyModelQuery.setYn(YnEnums.YES.getId());
  6194 + babyModelQuery.setEndCase(0);
6193 6195 babyModelQuery.setBuildDateEnd(DateUtil.getMonthEndTime(babyModelQuery.getBuildDateStart()));
6194 6196 Date currentDate = DateUtil.formatDate(new Date());
6195 6197 babyModelQuery.setBirthEnd(currentDate);
... ... @@ -6204,6 +6206,8 @@
6204 6206 babyModelQuery.setBirthStart(end_6);
6205 6207 int babyCount_6 = babyBookbuildingService.queryBabyCount(babyModelQuery);
6206 6208  
  6209 + //已结案的
  6210 + babyModelQuery.setEndCase(1);
6207 6211 //本月超过7岁建档数
6208 6212 Date endMonth_7 = DateUtil.addDay(DateUtil.addMonth(currentDate, -84 - 1), 1);
6209 6213 babyModelQuery.setBirthStart(endMonth_7);
... ... @@ -6221,6 +6225,10 @@
6221 6225 map.put("ageMonth_7",babyCountMonth_7);
6222 6226 map.put("ageYear_7",babyCountYear_7);
6223 6227 return new BaseObjectResponse().setData(map);
  6228 + }
  6229 +
  6230 + public BaseResponse queryBabyCheck0_6Statistical(BabyModelQuery babyModelQuery, Integer id) {
  6231 + return null;
6224 6232 }
6225 6233 }