Commit 028467ccd8ee0cf8d9d38891df1d2eb20fd4490e

Authored by litao@lymsh.com
1 parent a2c0ea480a

排序

Showing 1 changed file with 9 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java View file @ 028467c
... ... @@ -578,7 +578,15 @@
578 578 }
579 579 }
580 580  
581   - return RespBuilder.buildSuccess("couponReport", couponReport, "couponReportMap", temp, "reportModel", reportModel);
  581 + List<Map<String, Object>> couponReportMap = new ArrayList<>();
  582 + Set<Map.Entry<String, Object>> entries = temp.entrySet();
  583 + for (Map.Entry<String, Object> entry : entries) {
  584 + Map<String, Object> m = new HashMap<>();
  585 + m.put(entry.getKey(), entry.getValue());
  586 + couponReportMap.add(m);
  587 + }
  588 +
  589 + return RespBuilder.buildSuccess("couponReport", couponReport, "couponReportMap", couponReportMap, "reportModel", reportModel);
582 590 }
583 591  
584 592 private void setZeroDataByTemp(List<String> key, List<Map<String, Object>> couponReport) {