Commit ba9e2d86 by 王祖波

同步建联跟进bizId

parent ff22a3da
...@@ -236,6 +236,7 @@ public class ContactLogServiceImpl implements ContactLogService { ...@@ -236,6 +236,7 @@ public class ContactLogServiceImpl implements ContactLogService {
contactLog.setPotentialScore(jsonObject.getInteger("potentialScore")); contactLog.setPotentialScore(jsonObject.getInteger("potentialScore"));
} }
Long logId = UniqueIdUtils.uniqueLong(); Long logId = UniqueIdUtils.uniqueLong();
Long bizId = qdto.getSourceLogId() != null ? qdto.getSourceLogId() : logId;
contactLog.setLogId(logId); contactLog.setLogId(logId);
contactLog.setMemberId(memberId); contactLog.setMemberId(memberId);
contactLog.setContactStatus(Constant.FLAG_TRUE); contactLog.setContactStatus(Constant.FLAG_TRUE);
...@@ -259,7 +260,7 @@ public class ContactLogServiceImpl implements ContactLogService { ...@@ -259,7 +260,7 @@ public class ContactLogServiceImpl implements ContactLogService {
ContactFollowQDTO followQDTO = EntityUtil.changeEntityNew(ContactFollowQDTO.class, qdto); ContactFollowQDTO followQDTO = EntityUtil.changeEntityNew(ContactFollowQDTO.class, qdto);
followQDTO.setFollowType(followType); followQDTO.setFollowType(followType);
followQDTO.setFollowTime(date); followQDTO.setFollowTime(date);
followQDTO.setBizId(String.valueOf(logId)); followQDTO.setBizId(String.valueOf(bizId));
contactFollowService.saveFollow(followQDTO); contactFollowService.saveFollow(followQDTO);
} }
// 同步建联 // 同步建联
......
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