소스 검색

[邮件][修改][添加动态背景]

release_toaliyun_real
luozukai 7 년 전
부모
커밋
a9b4ae8142
1개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. +13
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java

+ 13
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxChartServiceImpl.java 파일 보기

@@ -1965,11 +1965,24 @@ public class WxChartServiceImpl implements WxChartDataService {
result.put("pressPaymentHistory",pressPaymentHistoryMap);

wxCoupon.setTenantId(tenantId);

result.put("pressSendHistoryTotal",getTotal(pressSendHistoryMap));
result.put("pressSuccHistoryCount",getTotal(pressSuccHistoryMap));
result.put("pressPaymentHistoryCount",getTotal(pressPaymentHistoryMap));

result.put("pressSuccRate",wxCouponService.pressSuccRate(wxCoupon));
result.put("sumJoin",wxCouponService.sumJoin(wxCoupon));
return new ResultData(result);
}

public int getTotal(Map<String,String> map){
int tatal = 0;
for (String key:map.keySet()) {
tatal += Integer.parseInt(map.get(key));
}
return tatal;
}

private Date getMonthFirstDay() {
Calendar c = Calendar.getInstance();
c.add(Calendar.MONTH, 0);
@@ -2048,7 +2061,6 @@ public class WxChartServiceImpl implements WxChartDataService {
result.put("transferRatio", transferRatio);
result.put("verifyCount", verifyCount);


return new ResultData(result);
}



불러오는 중...
취소
저장