|
|
|
@ -30,7 +30,7 @@ public class ReportSync {
|
|
|
|
|
/**
|
|
|
|
|
* 每天晚上23点,定时统计外呼信息
|
|
|
|
|
*/
|
|
|
|
|
// @Scheduled(cron = "0 0/1 * * * ? ")
|
|
|
|
|
// @Scheduled(cron = "0 0/5 * * * ? ")
|
|
|
|
|
@Scheduled(cron = "0 0 23 * * ? ")
|
|
|
|
|
public void reportToker() {
|
|
|
|
|
log.info("拓客投流统计 开始------------------{}", DateUtil.date());
|
|
|
|
@ -63,7 +63,10 @@ public class ReportSync {
|
|
|
|
|
int notTurnOn = 0;
|
|
|
|
|
for (ClueMiddle clueMiddle : clueMiddlesByTaskId) {
|
|
|
|
|
//标签
|
|
|
|
|
String sourceLabel = clueMiddle.getSourceLabel().get(0);
|
|
|
|
|
String sourceLabel = "";
|
|
|
|
|
if (clueMiddle.getSourceLabel().size() > 0) {
|
|
|
|
|
sourceLabel = clueMiddle.getSourceLabel().get(0);
|
|
|
|
|
}
|
|
|
|
|
switch (sourceLabel) {
|
|
|
|
|
case SourceLabelConstants.INTENTION:
|
|
|
|
|
intention += 1;
|
|
|
|
|