Commit 7fb380a7 by 王祖波

更新跟进时间

parent b6b9035a
...@@ -283,7 +283,7 @@ public class InteractRecordServiceImpl implements InteractRecordService { ...@@ -283,7 +283,7 @@ public class InteractRecordServiceImpl implements InteractRecordService {
log.info("更新跟进时间 now:{},limitTime:{}", now, limitTime); log.info("更新跟进时间 now:{},limitTime:{}", now, limitTime);
tabHaobanInteractRecordMapper.modifyFollowTimeBatch(enterpriseId, clerkId, memberId,limitTime); tabHaobanInteractRecordMapper.modifyFollowTimeBatch(enterpriseId, clerkId, memberId,limitTime);
InteractRecordBO interactRecordBO = queryLeastRecord(enterpriseId, clerkId, null, memberId); InteractRecordBO interactRecordBO = queryLeastRecord(enterpriseId, clerkId, null, memberId);
if (interactRecordBO != null) { if (interactRecordBO != null && cn.hutool.core.date.DateUtil.compare(interactRecordBO.getCreateTime(), limitTime) >= 0) {
TabHaobanInteractRecord modifyInteractRecord = new TabHaobanInteractRecord(); TabHaobanInteractRecord modifyInteractRecord = new TabHaobanInteractRecord();
modifyInteractRecord.setId(interactRecordBO.getId()); modifyInteractRecord.setId(interactRecordBO.getId());
modifyInteractRecord.setFollowTime(now); modifyInteractRecord.setFollowTime(now);
......
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