Commit Graph

31 Commits

Author SHA1 Message Date
Nymph2333 af0e0a110e
newInstance() 已弃用,使用clazz.getDeclaredConstructor().newInstance()
This method propagates any exception thrown by the nullary constructor, including a checked exception. Use of this method effectively bypasses the compile-time exception checking that would otherwise be performed by the compiler. The Constructor.newInstance method avoids this problem by wrapping any exception thrown by the constructor in a (checked) InvocationTargetException.
The call
 clazz.newInstance()
can be replaced by
 clazz.getDeclaredConstructor().newInstance()
The latter sequence of calls is inferred to be able to throw the additional exception types InvocationTargetException and NoSuchMethodException. Both of these exception types are subclasses of ReflectiveOperationException.

Signed-off-by: Nymph2333 <498092988@qq.com>
2023-04-10 06:27:40 +00:00
RuoYi 5873da87ae 屏蔽定时任务bean违规的字符 2023-02-04 22:25:33 +08:00
Rain a8b9485a29
根据调度编号获取详细信息参数名改正
Signed-off-by: Rain <938448486@qq.com>
2022-10-31 05:51:08 +00:00
RuoYi ebb9f15a75 新增返回警告消息提示 2022-10-30 12:02:06 +08:00
捏造的信仰 a78b5b7b2a
修复执行任务时,若方法入口在任务的父类,则无法执行的问题
实际项目开发中,可能会为所有定时任务类建一个共同的父类,任务的执行入口在父类定义,以便管理。此时使用 `getDeclaredMethod()` 是无法从子类找到要执行的方法的,而是要换用 `getMethod()` 方法。

Signed-off-by: 捏造的信仰 <yiding.he@gmail.com>
2022-08-23 05:36:29 +00:00
RuoYi 250c5ba226 优化任务过期不执行调度 2022-07-29 20:28:59 +08:00
RuoYi 2a9beec31d 检查定时任务bean所在包名是否为白名单配置 2022-04-16 22:06:25 +08:00
RuoYi e62e8e372c 组件ImageUpload支持多图同时选择上传 2022-02-25 09:08:56 +08:00
RuoYi d0f7a317e4 定时任务默认保存到内存中执行 2022-02-22 19:10:21 +08:00
SG a966b95a5b
update ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/SysJobController.java.
修正文字
2022-01-14 09:24:15 +00:00
RuoYi 3980b2f2ff 定时任务屏蔽违规的字符 2022-01-14 11:47:14 +08:00
RuoYi 9bd7509e87 添加新群号:264312783 2022-01-11 09:02:16 +08:00
RuoYi d2872539e3 修正文字错误 2022-01-07 13:08:51 +08:00
RuoYi 1a5b024df6 定时任务目标字符串验证包名白名单 2022-01-06 14:50:56 +08:00
RuoYi 578d65dfb4 定时任务目标字符串过滤特殊字符 2022-01-05 14:56:05 +08:00
RuoYi 0e771a6c1b 升级spring-boot到最新版本2.5.8 2021-12-27 12:38:59 +08:00
RuoYi 2743785aaf 修复多参数逗号分隔的问题 2021-12-13 10:11:34 +08:00
RuoYi ef4bfde4a8 优化提示信息 2021-11-22 18:06:44 +08:00
RuoYi cedd2d1daf 优化导出数据操作 2021-11-17 11:57:17 +08:00
RuoYi 2ab96587ef 任务参数忽略双引号中的逗号 2021-11-16 16:05:15 +08:00
RuoYi cc4c52c998 任务屏蔽违规字符 2021-11-01 15:03:06 +08:00
RuoYi 0fc266fe80 定时任务对检查异常进行事务回滚 2021-08-24 11:12:11 +08:00
RuoYi 1e37f0430b 定时任务屏蔽ldap远程调用 2021-08-19 15:26:22 +08:00
RuoYi 7736097f6b 提取通用方法到基类控制器 2021-08-08 19:12:12 +08:00
RuoYi 8ed7916b61 定时任务屏蔽http(s)远程调用 2021-07-30 11:28:46 +08:00
RuoYi 7ab14ff293 定时任务屏蔽rmi远程调用 2021-06-15 10:26:02 +08:00
RuoYi 7e79c4f249 生成vue模板导出按钮点击后添加遮罩 2021-05-24 11:34:03 +08:00
xivLi f3e5d908d6 quartz模块下 domain包中的 SysJob类不需要实现Serializable接口 2021-05-22 16:05:12 +08:00
RuoYi 9fccc7de40 修正调用目标字符串最大长度 2020-09-07 16:40:38 +08:00
Sxile be778ba370 修复参数注释 2020-07-23 14:54:11 +08:00
RuoYi cee572f237 若依 3.0 2020-07-19 10:25:40 +08:00