diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java index c25ff63be..b5bc04784 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java @@ -614,6 +614,7 @@ public class WxChartServiceImpl implements WxChartDataService { return new ResultData(datamap); } + /** * 车流 - 近一周新增会员数 * @param tenantId @@ -638,8 +639,9 @@ public class WxChartServiceImpl implements WxChartDataService { List timeList = new ArrayList<>(); List valList = new ArrayList<>(); for (String date : days) { - Object o = weekCarCollect.get(date); - timeList.add(date.substring(5, date.length()).replace("-", "/")); + String newdate = date.substring(5, date.length()).replace("-", "/"); + Object o = weekCarCollect.get(newdate); + timeList.add(newdate); if (o == null) { valList.add(0L); } else {