|
@@ -39,8 +39,8 @@ public class Notice {
|
|
|
/**
|
|
|
* 启动时和每天0点 查询当天的日程
|
|
|
*/
|
|
|
- @PostConstruct
|
|
|
- @Scheduled(cron = "0 0 0 * * ?")
|
|
|
+// @PostConstruct
|
|
|
+// @Scheduled(cron = "0 0 0 * * ?")
|
|
|
public void getNoticeList() {
|
|
|
TenantHolder.setIgnore(true);
|
|
|
QueryWrapper queryWrapper = new QueryWrapper();
|
|
@@ -55,7 +55,7 @@ public class Notice {
|
|
|
/**
|
|
|
* 每10秒检查一次
|
|
|
*/
|
|
|
- @Scheduled(cron = "0/10 * * * * ?")
|
|
|
+// @Scheduled(cron = "0/10 * * * * ?")
|
|
|
public void sendNoticeTime() {
|
|
|
TenantHolder.setIgnore(true);
|
|
|
List<ScheduleInfo> scheduleInfos = new ArrayList<>();
|