Commit d90a8a095e7382765c610a11f93ff2a269a6a200
1 parent
3c56cf65bb
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/RiskReportFacade.java
View file @
d90a8a0
| ... | ... | @@ -774,7 +774,7 @@ |
| 774 | 774 | } else if (countRequest.getAgeRange() == 2) { |
| 775 | 775 | s = 21; |
| 776 | 776 | e = 30; |
| 777 | - d=0; | |
| 777 | + d=1; | |
| 778 | 778 | } else if (countRequest.getAgeRange() == 3) { |
| 779 | 779 | s = 30; |
| 780 | 780 | e = 41; |
| 781 | 781 | |
| ... | ... | @@ -782,12 +782,12 @@ |
| 782 | 782 | } else if (countRequest.getAgeRange() == 4) { |
| 783 | 783 | s = 41; |
| 784 | 784 | e = 100; |
| 785 | - d=0; | |
| 785 | + d=1; | |
| 786 | 786 | } |
| 787 | 787 | |
| 788 | 788 | Date start = DateUtil.addYear(currentDate, -s); |
| 789 | - patientsQuery.setBirthEnd(DateUtil.addDay(start,d)); | |
| 790 | - System.out.println(DateUtil.getyyyy_MM_dd(DateUtil.addDay(start,d))); | |
| 789 | + patientsQuery.setBirthEnd(start); | |
| 790 | + System.out.println(DateUtil.getyyyy_MM_dd(start)); | |
| 791 | 791 | Date end = DateUtil.addYear(currentDate, -e); |
| 792 | 792 | patientsQuery.setBirthStart(DateUtil.addDay(end,d)); |
| 793 | 793 | System.out.println(DateUtil.getyyyy_MM_dd(DateUtil.addDay(end,d))); |