Commit e0bc23b9 by 王祖波

多业务自动建联

parent ba9e2d86
...@@ -346,12 +346,15 @@ public class ContactLogServiceImpl implements ContactLogService { ...@@ -346,12 +346,15 @@ public class ContactLogServiceImpl implements ContactLogService {
return; return;
} }
logger.info("自动建联:{}", JSON.toJSONString(qdto)); logger.info("自动建联:{}", JSON.toJSONString(qdto));
for (ContactBizTypeEnum bizTypeEnum : ContactBizTypeEnum.values()) {
try { try {
qdto.setBizType(bizTypeEnum.getType());
qdto.setFollowType(ContactFollowTypeEnum.AUTO_CONTACT.getCode()); qdto.setFollowType(ContactFollowTypeEnum.AUTO_CONTACT.getCode());
qdto.setFollowRemark("因" + ContactAutoTypeEnum.fromCode(contactAutoType).getDescription() + ",系统自动标记了建联"); qdto.setFollowRemark("因" + ContactAutoTypeEnum.fromCode(contactAutoType).getDescription() + ",系统自动标记了建联");
saveContactLog(qdto); saveContactLog(qdto);
} catch (BusinessException e) { } catch (BusinessException e) {
logger.info("自动建联异常:{}", e.getMessage()); logger.info("自动建联异常:{}", e.getMessage());
}
return; return;
} }
} }
......
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