From 874287a4c02d0a980d8b97c4a691b4f37ec5e812 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期二, 03 十二月 2024 08:47:04 +0800 Subject: [PATCH] 1、security模块ExpressionUrlAuthorizationConfigurer改为AuthorizeHttpRequestsConfigurer 2、全局registry.antMatchers改为registry.requestMatchers 3、增加积木报表 --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java | 62 +++++++++++++++--------------- 1 files changed, 31 insertions(+), 31 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java index e3bb964..3be6681 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/job/demo/DemoJob.java @@ -1,31 +1,31 @@ -package com.iailab.module.system.job.demo; - -import com.iailab.framework.tenant.core.job.TenantJob; -import com.xxl.job.core.handler.annotation.XxlJob; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.stereotype.Component; - -import java.util.Date; -import java.util.concurrent.atomic.AtomicInteger; - -@Component -public class DemoJob { - - private Logger logger = LoggerFactory.getLogger(getClass()); - - private final AtomicInteger counts = new AtomicInteger(); - - private static final Object lock = new Object(); - - - @XxlJob("demoJob") - @TenantJob - public void execute() { - synchronized (lock) { - logger.info("[execute][定时第 ({}) 次执行]", counts.incrementAndGet()); - System.out.println(new Date() + ": 我是系统定时任务"); - } - } - -} +//package com.iailab.module.system.job.demo; +// +//import com.iailab.framework.tenant.core.job.TenantJob; +//import com.xxl.job.core.handler.annotation.XxlJob; +//import org.slf4j.Logger; +//import org.slf4j.LoggerFactory; +//import org.springframework.stereotype.Component; +// +//import java.util.Date; +//import java.util.concurrent.atomic.AtomicInteger; +// +//@Component +//public class DemoJob { +// +// private Logger logger = LoggerFactory.getLogger(getClass()); +// +// private final AtomicInteger counts = new AtomicInteger(); +// +// private static final Object lock = new Object(); +// +// +// @XxlJob("demoJob") +// @TenantJob +// public void execute() { +// synchronized (lock) { +// logger.info("[execute][定时第 ({}) 次执行]", counts.incrementAndGet()); +// System.out.println(new Date() + ": 我是系统定时任务"); +// } +// } +// +//} -- Gitblit v1.9.3