diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java index bd35f1740..c2debd45e 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java @@ -2401,12 +2401,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { paramMap.put("startCreateDateTimes", startTime.getTime()); paramMap.put("endCreateDateTimes", endTime.getTime()); List> couponCountList = wxCouponOrderMapper.findCreateDateCouponOrderCount(paramMap); - Map couponCount = new HashMap(); + Map couponCount = new HashMap(); if (null != couponCountList) { for (int i = 0; i < couponCountList.size();i++) { Map map = couponCountList.get(i); String date = (String)map.get("createTime"); - Integer count = (Integer)map.get("count"); + Long count = (Long)map.get("count"); if ((!StringUtils.isBlank(date)) && null != count) { if(!dateList.contains(date)) { dateList.add(date); @@ -2418,12 +2418,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { //券领取人数 List> couponUserCountList = wxCouponOrderMapper.findCreateDateCouponOrderUserCount(paramMap); - Map couponUserCount = new HashMap(); + Map couponUserCount = new HashMap(); if (null != couponUserCountList) { for (int i = 0; i < couponUserCountList.size();i++) { Map map = couponUserCountList.get(i); String date = (String)map.get("createTime"); - Integer count = (Integer)map.get("count"); + Long count = (Long)map.get("count"); if ((!StringUtils.isBlank(date)) && null != count) { if(!dateList.contains(date)) { dateList.add(date); @@ -2441,12 +2441,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { verfiyParamMap.put("updateStartTime", startTime); verfiyParamMap.put("updateEndTime", endTime); List> verfiyCountList = wxCouponOrderMapper.findCreateDateCouponOrderCount(verfiyParamMap); - Map verfiyCount = new HashMap(); + Map verfiyCount = new HashMap(); if (null != verfiyCountList) { for (int i = 0; i < verfiyCountList.size();i++) { Map map = verfiyCountList.get(i); String date = (String)map.get("createTime"); - Integer count = (Integer)map.get("count"); + Long count = (Long)map.get("count"); if ((!StringUtils.isBlank(date)) && null != count) { if(!dateList.contains(date)) { dateList.add(date); @@ -2458,12 +2458,12 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { //券核销人数 List> verfiyUserCountList = wxCouponOrderMapper.findCreateDateCouponOrderUserCount(verfiyParamMap); - Map verfiyUserCount = new HashMap(); + Map verfiyUserCount = new HashMap(); if (null != verfiyUserCountList) { for (int i = 0; i < verfiyUserCountList.size();i++) { Map map = verfiyUserCountList.get(i); String date = (String)map.get("createTime"); - Integer count = (Integer)map.get("count"); + Long count = (Long)map.get("count"); if ((!StringUtils.isBlank(date)) && null != count) { if(!dateList.contains(date)) { dateList.add(date); @@ -2479,25 +2479,25 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { String date = dateList.get(i); MarkingCouponDataReportVo vo = new MarkingCouponDataReportVo(); if (null != couponCount && couponCount.containsKey(date)) { - vo.setCouponCount(couponCount.get(date)); + vo.setCouponCount(couponCount.get(date).intValue()); }else { vo.setCouponCount(0); } if (null != couponUserCount && couponUserCount.containsKey(date)) { - vo.setCouponUserCount(couponUserCount.get(date));; + vo.setCouponUserCount(couponUserCount.get(date).intValue());; }else { vo.setCouponUserCount(0); } if (null != verfiyCount && verfiyCount.containsKey(date)) { - vo.setVerifyCount(verfiyCount.get(date)); + vo.setVerifyCount(verfiyCount.get(date).intValue()); }else { vo.setVerifyCount(0); } if (null != verfiyUserCount && verfiyUserCount.containsKey(date)) { - vo.setVerifyUserCount(verfiyUserCount.get(date)); + vo.setVerifyUserCount(verfiyUserCount.get(date).intValue()); }else { vo.setVerifyUserCount(0); }