Commit 5544f66bdae8fe009ac816667c7e8af6eb755eeb
1 parent
bdb52b2229
Exists in
master
and in
6 other branches
1
Showing 1 changed file with 7 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/RiskReportFacade.java
View file @
5544f66
| ... | ... | @@ -768,15 +768,15 @@ |
| 768 | 768 | int e = 0; |
| 769 | 769 | if (countRequest.getAgeRange() == 1) { |
| 770 | 770 | s = 0; |
| 771 | - e = 20; | |
| 771 | + e = 21; | |
| 772 | 772 | } else if (countRequest.getAgeRange() == 2) { |
| 773 | - s = 21; | |
| 774 | - e = 30; | |
| 773 | + s = 22; | |
| 774 | + e = 31; | |
| 775 | 775 | } else if (countRequest.getAgeRange() == 3) { |
| 776 | - s = 31; | |
| 777 | - e = 40; | |
| 776 | + s = 32; | |
| 777 | + e = 41; | |
| 778 | 778 | } else if (countRequest.getAgeRange() == 4) { |
| 779 | - s = 41; | |
| 779 | + s = 42; | |
| 780 | 780 | e = 100; |
| 781 | 781 | } |
| 782 | 782 | |
| ... | ... | @@ -785,7 +785,7 @@ |
| 785 | 785 | System.out.println(DateUtil.getyyyy_MM_dd(start)); |
| 786 | 786 | Date end = DateUtil.addYear(currentDate, -e); |
| 787 | 787 | patientsQuery.setBirthStart(DateUtil.addDay(end,1)); |
| 788 | - System.out.println(DateUtil.getyyyy_MM_dd(end)); | |
| 788 | + System.out.println(DateUtil.getyyyy_MM_dd(DateUtil.addDay(end,1))); | |
| 789 | 789 | |
| 790 | 790 | } |
| 791 | 791 |