Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
2f380f0c
Commit
2f380f0c
authored
Aug 26, 2022
by
若依
Committed by
Gitee
Aug 26, 2022
Browse files
Options
Browse Files
Download
Plain Diff
!564 修复执行任务时,若方法入口在任务的父类,则无法执行的问题
Merge pull request !564 from 捏造的信仰/fix-issue-I5NNXI
parents
39efed17
a78b5b7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/JobInvokeUtil.java
...tz/src/main/java/com/ruoyi/quartz/util/JobInvokeUtil.java
+2
-2
No files found.
ruoyi-quartz/src/main/java/com/ruoyi/quartz/util/JobInvokeUtil.java
View file @
2f380f0c
...
@@ -52,12 +52,12 @@ public class JobInvokeUtil
...
@@ -52,12 +52,12 @@ public class JobInvokeUtil
{
{
if
(
StringUtils
.
isNotNull
(
methodParams
)
&&
methodParams
.
size
()
>
0
)
if
(
StringUtils
.
isNotNull
(
methodParams
)
&&
methodParams
.
size
()
>
0
)
{
{
Method
method
=
bean
.
getClass
().
get
Declared
Method
(
methodName
,
getMethodParamsType
(
methodParams
));
Method
method
=
bean
.
getClass
().
getMethod
(
methodName
,
getMethodParamsType
(
methodParams
));
method
.
invoke
(
bean
,
getMethodParamsValue
(
methodParams
));
method
.
invoke
(
bean
,
getMethodParamsValue
(
methodParams
));
}
}
else
else
{
{
Method
method
=
bean
.
getClass
().
get
Declared
Method
(
methodName
);
Method
method
=
bean
.
getClass
().
getMethod
(
methodName
);
method
.
invoke
(
bean
);
method
.
invoke
(
bean
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment