Commit 01270983 by 王祖波

刷新建联时间

parent ccd52959
...@@ -254,7 +254,7 @@ public class ContactLogServiceImpl implements ContactLogService { ...@@ -254,7 +254,7 @@ public class ContactLogServiceImpl implements ContactLogService {
contactLogMapper.insert(contactLog); contactLogMapper.insert(contactLog);
// 刷新es建联时间 // 刷新es建联时间
Long clerkContactTime = Long.parseLong(DateUtil.format(date, DatePattern.PURE_DATETIME_PATTERN)); Long clerkContactTime = Long.parseLong(DateUtil.format(date, DatePattern.PURE_DATETIME_PATTERN));
refreshContactTime(enterpriseId, memberId, bizType, clerkContactTime); refreshContactTime(enterpriseId, memberId);
// 建联跟进记录 // 建联跟进记录
String followRemark = qdto.getFollowRemark(); String followRemark = qdto.getFollowRemark();
if (StringUtils.isNotBlank(followRemark)) { if (StringUtils.isNotBlank(followRemark)) {
...@@ -404,11 +404,11 @@ public class ContactLogServiceImpl implements ContactLogService { ...@@ -404,11 +404,11 @@ public class ContactLogServiceImpl implements ContactLogService {
} }
} }
// 清除es建联时间 // 清除es建联时间
refreshContactTime(enterpriseId, memberId, k, -1L); refreshContactTime(enterpriseId, memberId);
}); });
} }
private void refreshContactTime(String enterpriseId, String memberId, Integer bizType, Long contactTime) { private void refreshContactTime(String enterpriseId, String memberId) {
JSONObject memberJO = esMemberInfoService.queryDataSingle(enterpriseId, memberId, "clerkChannelContactTime"); JSONObject memberJO = esMemberInfoService.queryDataSingle(enterpriseId, memberId, "clerkChannelContactTime");
if (memberJO == null) { if (memberJO == null) {
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