Commit 6a6fb8007e88ea16ff49dc2c733c3c03ff99b763

Authored by liquanyu
1 parent af8e6afd78

code update

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ 6a6fb80
... ... @@ -1393,7 +1393,7 @@
1393 1393  
1394 1394 Date currentDate = DateUtil.formatDate(new Date());
1395 1395 Date start = DateUtil.addMonth(currentDate, -request.getMonthAgeStart());
1396   - Date end = DateUtil.addMonth(currentDate, -request.getMonthAgeEnd()-1);
  1396 + Date end = DateUtil.addDay(DateUtil.addMonth(currentDate, -request.getMonthAgeEnd()-1),-1);
1397 1397 babyQuery.setBirthStart(end);
1398 1398 babyQuery.setBirthEnd(start);
1399 1399 }