|
|
@@ -148,9 +148,13 @@ public class MarketingCampaignServiceImpl
|
|
|
vo.setOpenedCustomerCount(toInt(openedMap.get(id)));
|
|
|
vo.setRepliedCustomerCount(toInt(repliedMap.get(id)));
|
|
|
vo.setProtectWhitelistCount(toInt(protectMap.get(id)));
|
|
|
- vo.setPendingEmailCount(toInt(pendingMap.get(id)));
|
|
|
- vo.setSentEmailCount(toInt(sentMap.get(id)));
|
|
|
- vo.setCancelledEmailCount(toInt(cancelledMap.get(id)));
|
|
|
+ int pending = toInt(pendingMap.get(id));
|
|
|
+ int sent = toInt(sentMap.get(id));
|
|
|
+ int cancelled = toInt(cancelledMap.get(id));
|
|
|
+ vo.setPendingEmailCount(pending);
|
|
|
+ vo.setSentEmailCount(sent);
|
|
|
+ vo.setCancelledEmailCount(cancelled);
|
|
|
+ vo.setEmailCountStats(pending + sent + cancelled);
|
|
|
int sentCustomer = toInt(sentCustomerMap.get(id));
|
|
|
vo.setSentCustomerCount(sentCustomer);
|
|
|
vo.setOpenRateText(buildRate(toInt(openedMap.get(id)), sentCustomer));
|