xufenglei
2018-04-08 6f08c72b1056c9e4b2bdf79bafbc49fcc3cdcaa1
src/main/java/com/moral/controller/ReportController.java
@@ -50,7 +50,7 @@
   public ResultBean<Boolean> getExcelReport(HttpServletRequest request, HttpServletResponse response) throws Exception {
      Map<String, Object> parameters = getParametersStartingWith(request, null);
      List<Map<String, Object>> list = historyMinutelyService.getMonitorPointOrDeviceAvgData(parameters);
      List<String> sensors= new ArrayList<String>((Set<String>) parameters.get("sensors"));
      List<String> sensors= (List<String>) parameters.get("sensors");
      String[][] exportColumn = new String[sensors.size() + 1][];
      exportColumn[0] = new String[] { "时间", "20", "time" };
      for (int index = 0; index < sensors.size(); index++) {