Browse Source

新增模型1:案件警情疑似未及时受理案件

main
sjh 1 year ago
parent
commit
93c7cd8ada
  1. 4
      src/main/java/com/biutag/supervision/job/Job.java

4
src/main/java/com/biutag/supervision/job/Job.java

@ -80,7 +80,7 @@ public class Job {
}
// 每日04:00更新基础数据
@Scheduled(cron = "0 0 4 * * ?")
// @Scheduled(cron = "0 0 4 * * ?")
public void updateBaseData() {
List<Date> happenTime = new ArrayList<>();
Date start = Date.from(LocalDateTime.now().minusDays(1).withHour(0).withMinute(0).withSecond(0).withNano(0).atZone(ZoneId.systemDefault()).toInstant());
@ -91,7 +91,7 @@ public class Job {
businessPoliceService.generate(happenTime);
}
@Scheduled(cron = "0 0 5 * * ?")
// @Scheduled(cron = "0 0 5 * * ?")
public void executeModel() {
modelClueService.generate(7);
}

Loading…
Cancel
Save