Commit e5adb0a7 by 郑永强

加入邮件发送判断

parent 8847e6f0
......@@ -500,6 +500,11 @@ public class PersonalStageJumpBizImpl implements PersonalStageJumpBiz {
if(ListUtils.isEmpty(jumpEmails)){
return;
}
PersonalStageJump personalStageJump = personalStageJumpDao.getById(jumpKeywordDto.getPersonalStageJumpId());
if(personalStageJump == null || personalStageJump.getOpenEmail() == null || !personalStageJump.getOpenEmail()){
LOGGER.info("无需发送邮件");
return;
}
GroupUserDTO wxUserInfo = wechatGroupConsr.getWxUserInfoByWxUserId(userWxId);
if(wxUserInfo==null){
LOGGER.info("未找到用户信息,无法发送阶段跳转邮件");
......
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