Commit 379d79d0 by 王祖波

社群活动分组关联修改

parent ba431fec
...@@ -61,10 +61,6 @@ public class BusinessManager { ...@@ -61,10 +61,6 @@ public class BusinessManager {
memberTagBusinessGroupDTO.setBusinessLink(MarketingTagModuleEnum.GROUP_CHAT_ACTIVITY.getPagePath()); memberTagBusinessGroupDTO.setBusinessLink(MarketingTagModuleEnum.GROUP_CHAT_ACTIVITY.getPagePath());
logger.info("处理计划使用人群分组关联关系chatActivityId:{}", chatActivityId); logger.info("处理计划使用人群分组关联关系chatActivityId:{}", chatActivityId);
memberTagBusinessGroupApiService.batchDelAndAddByBusinessId(memberTagBusinessGroupDTO); memberTagBusinessGroupApiService.batchDelAndAddByBusinessId(memberTagBusinessGroupDTO);
} else {
// 若使用非人群分组,删除所有关联关系
logger.info("删除计划使用人群分组关联关系chatActivityId:{}", chatActivityId);
memberTagBusinessGroupApiService.deleteByBusinessIdAndEnterpriseId(String.valueOf(chatActivityId), enterpriseId);
} }
if (Objects.equals(memberType, 0) && filterJsonView != null) { if (Objects.equals(memberType, 0) && filterJsonView != null) {
screeningDetailService.save("GROUP_CHAT_SEARCH_ID_" + activityDTO.getChatActivityId() + "-" + activityJoin.getIndex(), filterJsonView); screeningDetailService.save("GROUP_CHAT_SEARCH_ID_" + activityDTO.getChatActivityId() + "-" + activityJoin.getIndex(), filterJsonView);
...@@ -85,7 +81,7 @@ public class BusinessManager { ...@@ -85,7 +81,7 @@ public class BusinessManager {
.distinct().collect(Collectors.toList()); .distinct().collect(Collectors.toList());
couponReferAlarmQDTO.setCouponIdList(couponIdList); couponReferAlarmQDTO.setCouponIdList(couponIdList);
couponReferAlarmQDTO.setEnterpriseId(activityDTO.getEnterpriseId()); couponReferAlarmQDTO.setEnterpriseId(activityDTO.getEnterpriseId());
couponReferAlarmQDTO.setReferType(2); couponReferAlarmQDTO.setReferType(3);
couponReferAlarmQDTO.setSystemType(1); couponReferAlarmQDTO.setSystemType(1);
couponReferAlarmQDTO.setReferId(String.valueOf(activityDTO.getChatActivityId())); couponReferAlarmQDTO.setReferId(String.valueOf(activityDTO.getChatActivityId()));
couponReferAlarmQDTO.setTitle("社群邀请有礼-" + activityDTO.getActivityName()); couponReferAlarmQDTO.setTitle("社群邀请有礼-" + activityDTO.getActivityName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment