解决定时调度无法调用父类方法的问题
This commit is contained in:
parent
ddc3cbed30
commit
861b49a415
|
|
@ -28,11 +28,11 @@ public class ScheduleRunnable implements Runnable
|
||||||
|
|
||||||
if (StringUtils.isNotEmpty(params))
|
if (StringUtils.isNotEmpty(params))
|
||||||
{
|
{
|
||||||
this.method = target.getClass().getDeclaredMethod(methodName, String.class);
|
this.method = target.getClass().getMethod(methodName, String.class);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.method = target.getClass().getDeclaredMethod(methodName);
|
this.method = target.getClass().getMethod(methodName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue