Commit 832d0b42 by 徐高华

完成代办

parent 0ad53210
......@@ -10,7 +10,7 @@ public enum PendingTaskTypeEnum {
TEL_TASK(1, "话务任务", "您收到了新的话务任务【{}】,赶紧去执行吧~"),
GROUP_TASK(3, "客户群发", "您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-群发助手中执行吧~"),
ACTIVITY(4, "活动", "您报名的{}活动已经开始啦,快去转发赚佣金吧~"),
GROUP_CHAT(5, "社群群发", "您收到了新的企微群发任务【{}】,赶紧到企业微信-消息-群发助手中执行吧~"),
GROUP_CHAT(5, "社群群发", "您收到了新的社群群发任务【{}】,赶紧到企业微信-消息-群发助手中执行吧~"),
;
private int type;
private String name;
......
......@@ -215,7 +215,7 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
task.setDescription(plan.getRemark());
task.setStoreId(ownerDTO.getStoreId());
task.setClerkId(ownerDTO.getClerkId());
task.setEnterpriseId(task.getEnterpriseId());
task.setEnterpriseId(ownerDTO.getEnterpriseId());
task.setOverdueTime(ownerDTO.getExpireDate());
this.pendingTaskService.addOrUpdatePendingTask(task);
}
......@@ -282,6 +282,8 @@ public class GroupChatPlanServiceImpl implements GroupChatPlanService {
}
this.groupChatPlanOwnerLogService.updateSendCount(ownerLog.getOwnerLogId(), sendCount,
list.get(0).getSendTime(), failCount);
// 完成代办
this.pendingTaskService.updateFinish(ownerLog.getOwnerLogId()+"") ;
}
}
}
......
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