|
@@ -341,6 +341,7 @@ public class MarketingCampaignServiceImpl
|
|
|
Integer sentCountLong = marketEmailsService.lambdaQuery()
|
|
Integer sentCountLong = marketEmailsService.lambdaQuery()
|
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
|
|
|
+ .eq(MarketEmailsEntity::getHasFirst, 1)
|
|
|
.eq(MarketEmailsEntity::getStatus, 1)
|
|
.eq(MarketEmailsEntity::getStatus, 1)
|
|
|
.count();
|
|
.count();
|
|
|
Integer sentCount = sentCountLong == null ? 0 : sentCountLong.intValue();
|
|
Integer sentCount = sentCountLong == null ? 0 : sentCountLong.intValue();
|
|
@@ -350,6 +351,7 @@ public class MarketingCampaignServiceImpl
|
|
|
Integer emailCountAllLong = marketEmailsService.lambdaQuery()
|
|
Integer emailCountAllLong = marketEmailsService.lambdaQuery()
|
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
|
|
|
+ .eq(MarketEmailsEntity::getHasFirst, 1)
|
|
|
.count();
|
|
.count();
|
|
|
int emailCountAll = emailCountAllLong == null ? 0 : emailCountAllLong.intValue();
|
|
int emailCountAll = emailCountAllLong == null ? 0 : emailCountAllLong.intValue();
|
|
|
|
|
|
|
@@ -358,6 +360,7 @@ public class MarketingCampaignServiceImpl
|
|
|
Integer openCountLong = marketEmailsService.lambdaQuery()
|
|
Integer openCountLong = marketEmailsService.lambdaQuery()
|
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
|
|
|
+ .eq(MarketEmailsEntity::getHasFirst, 1)
|
|
|
.eq(MarketEmailsEntity::getStatus, 1)
|
|
.eq(MarketEmailsEntity::getStatus, 1)
|
|
|
.eq(MarketEmailsEntity::getHasReader, 1)
|
|
.eq(MarketEmailsEntity::getHasReader, 1)
|
|
|
.count();
|
|
.count();
|
|
@@ -367,6 +370,7 @@ public class MarketingCampaignServiceImpl
|
|
|
Integer replyCountLong = marketEmailsService.lambdaQuery()
|
|
Integer replyCountLong = marketEmailsService.lambdaQuery()
|
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
.eq(MarketEmailsEntity::getMarketingCampaignId, id)
|
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
.eq(MarketEmailsEntity::getIsDelete, CommonConstant.DEL_FLAG_0)
|
|
|
|
|
+// .eq(MarketEmailsEntity::getHasFirst, 1)
|
|
|
.eq(MarketEmailsEntity::getStatus, 1)
|
|
.eq(MarketEmailsEntity::getStatus, 1)
|
|
|
.eq(MarketEmailsEntity::getHasReply, 1)
|
|
.eq(MarketEmailsEntity::getHasReply, 1)
|
|
|
.count();
|
|
.count();
|