Commit ff22a3da by 王祖波

同步建联增加备注

parent d94435fd
......@@ -264,7 +264,7 @@ public class ContactLogServiceImpl implements ContactLogService {
}
// 同步建联
if (!Objects.equals(qdto.getSyncContactType(), Constant.FLAG_TRUE)) {
syncContactSend(contactLog);
syncContactSend(contactLog,followRemark);
}
// 冗余机会人群数据
if (Objects.equals(bizType, ContactBizTypeEnum.OPPORTUNITY_CUSTOMER.getType())) {
......@@ -296,12 +296,13 @@ public class ContactLogServiceImpl implements ContactLogService {
}
}
private void syncContactSend(TabContactLog contactLog) {
private void syncContactSend(TabContactLog contactLog,String followRemark) {
// 同步建联
ContactLogQDTO contactLogQDTO = EntityUtil.changeEntityNew(ContactLogQDTO.class, contactLog);
contactLogQDTO.setSyncContactType(Constant.FLAG_TRUE);
contactLogQDTO.setSyncContactTime(contactLog.getContactTime());
contactLogQDTO.setContactAutoType(null);
contactLogQDTO.setFollowRemark(followRemark);
contactLogQDTO.setSourceLogId(contactLog.getLogId());
String message = JSON.toJSONString(contactLogQDTO);
String routerName = "autoContactLogForMQ";
......
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