|
|
@ -72,11 +72,11 @@ public class CityPartnerPrizeServiceImpl implements CityPartnerPrizeService {
|
|
|
|
item.put("month", mon);
|
|
|
|
item.put("month", mon);
|
|
|
|
item.put("monthstr", year + "-" + StringUtils.substring("00" + mon, -2));
|
|
|
|
item.put("monthstr", year + "-" + StringUtils.substring("00" + mon, -2));
|
|
|
|
JSONObject chargeInfo = getCityPartnerPrizeInfo(item.getString("monthstr"));
|
|
|
|
JSONObject chargeInfo = getCityPartnerPrizeInfo(item.getString("monthstr"));
|
|
|
|
item.put("total_charge", chargeInfo.getString("total_charge"));
|
|
|
|
|
|
|
|
item.put("royalpay_charge", chargeInfo.getString("royalpay_charge"));
|
|
|
|
item.put("royalpay_charge", chargeInfo.getString("royalpay_charge"));
|
|
|
|
item.put("org_charge", chargeInfo.getString("org_charge"));
|
|
|
|
item.put("org_charge", chargeInfo.getString("org_charge"));
|
|
|
|
JSONObject referrerChargeInfo = getReferrerPrizeInfo(item.getString("monthstr"));
|
|
|
|
JSONObject referrerChargeInfo = getReferrerPrizeInfo(item.getString("monthstr"));
|
|
|
|
item.put("referrer_charge",referrerChargeInfo.getString("org_charge"));
|
|
|
|
item.put("referrer_charge",referrerChargeInfo.getString("org_charge"));
|
|
|
|
|
|
|
|
item.put("total_charge", chargeInfo.getBigDecimal("org_charge").add(referrerChargeInfo.getBigDecimal("org_charge")));
|
|
|
|
monthObjs.add(item);
|
|
|
|
monthObjs.add(item);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return monthObjs;
|
|
|
|
return monthObjs;
|
|
|
|