Commit 294ed0b5654cfb4729159e917ec4da36d3785fa6
1 parent
7751c4a4f3
Exists in
master
and in
6 other branches
产筛
Showing 1 changed file with 1 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java
View file @
294ed0b
... | ... | @@ -1313,7 +1313,7 @@ |
1313 | 1313 | reportModel.put("title", title); |
1314 | 1314 | reportModel.put("color", color); |
1315 | 1315 | |
1316 | - for (int i = 0; i <= 40; i++) { | |
1316 | + for (int i = 1; i <= 40; i++) { | |
1317 | 1317 | xAxis.add(i); |
1318 | 1318 | } |
1319 | 1319 | reportModel.put("xAxis", xAxis); |
... | ... | @@ -1326,7 +1326,6 @@ |
1326 | 1326 | list.add(Arrays.asList(next.getKey(), getDiff(beforeWeight, next.getValue()))); |
1327 | 1327 | } |
1328 | 1328 | } |
1329 | - series.put("portData", list); | |
1330 | 1329 | series.put("portData", list); |
1331 | 1330 | restMap.put("reportModel", reportModel); |
1332 | 1331 | } |