Commit 5a410ebd995f2fd1c133290c242b43324171cb74

Authored by jiangjiazhi
1 parent a1b17b9a80

1

Showing 1 changed file with 2 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java View file @ 5a410eb
... ... @@ -1088,7 +1088,7 @@
1088 1088 for (int i = 1; i <= 27; i++) {
1089 1089 highMap.put(13 + i, high + i * highAvg2);
1090 1090 }
1091   - for (int i = 0; i <= 40; i++) {
  1091 + for (int i = 0; i <= 42; i++) {
1092 1092 normalMap.put(i, (highMap.get(i) + lowMap.get(i)) / 2);
1093 1093 }
1094 1094  
... ... @@ -1111,7 +1111,7 @@
1111 1111 reportModel.put("title", title);
1112 1112 reportModel.put("color", color);
1113 1113  
1114   - for (int i = 0; i <= 40; i++) {
  1114 + for (int i = 0; i <= 42; i++) {
1115 1115 xAxis.add(i);
1116 1116 }
1117 1117 reportModel.put("xAxis", xAxis);
... ... @@ -1124,7 +1124,6 @@
1124 1124 list.add(Arrays.asList(next.getKey(), getDiff(beforeWeight, next.getValue())));
1125 1125 }
1126 1126 }
1127   - series.put("portData", list);
1128 1127 series.put("portData", list);
1129 1128 restMap.put("reportModel", reportModel);
1130 1129 }