Commit 90275d2c10cbe40e556ed225a4bb86006dba5020
1 parent
5f10ef46b2
Exists in
master
and in
8 other branches
修改
Showing 1 changed file with 4 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PredictedStatisticsFacade.java
View file @
90275d2
... | ... | @@ -107,9 +107,10 @@ |
107 | 107 | List<PredictedStatisticsCountModel> predictedStatisticsCountModelList = new ArrayList<>(); |
108 | 108 | Date date = new Date(); |
109 | 109 | for (int i = 0; i < 10; i++) { |
110 | - date = DateUtil.addMonth(date, i); | |
111 | - Date startDate = DateUtil.getMonthStart(date); | |
112 | - Date endDate = DateUtil.getMonthEndTime(date); | |
110 | + Date temp = DateUtil.addMonth(date, i); | |
111 | + System.out.println(temp); | |
112 | + Date startDate = DateUtil.getMonthStart(temp); | |
113 | + Date endDate = DateUtil.getMonthEndTime(temp); | |
113 | 114 | PatientsQuery patientsQuery = new PatientsQuery(); |
114 | 115 | String doctorId = predictedStatisticsRequest.getDoctorId(); |
115 | 116 | patientsQuery.setYn(YnEnums.YES.getId()); |