Browse Source

定时任务日志修改

master
CMM 3 months ago
parent
commit
d3c76d0e57
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      kq-vas-api/src/main/java/com/ningdatech/kqapi/scheduler/task/ItemSynTask.java

+ 2
- 2
kq-vas-api/src/main/java/com/ningdatech/kqapi/scheduler/task/ItemSynTask.java View File

@@ -104,9 +104,9 @@ public class ItemSynTask {
}
}
}
log.info("{} 数据列表数量为:{}", startDate, records.size());
log.info("{} - {} 数据列表数量为:{}", startDate, endDate, records.size());
kqService.saveBatch(records);
log.info("事项同步成功,更新时间:{}", startDate);
log.info("事项同步成功,更新时间:{}", endDate);
// 更新缓存中的更新时间
// 获取此次保存记录中的最新更新时间
records.sort((o1, o2) -> o2.getUpdateDate().compareTo(o1.getUpdateDate()));


Loading…
Cancel
Save