解决定时调度无法调用父类方法的问题

This commit is contained in:
Administrator 2018-11-21 17:30:07 +08:00
parent ddc3cbed30
commit 861b49a415
1 changed files with 2 additions and 2 deletions

View File

@ -28,11 +28,11 @@ public class ScheduleRunnable implements Runnable
if (StringUtils.isNotEmpty(params))
{
this.method = target.getClass().getDeclaredMethod(methodName, String.class);
this.method = target.getClass().getMethod(methodName, String.class);
}
else
{
this.method = target.getClass().getDeclaredMethod(methodName);
this.method = target.getClass().getMethod(methodName);
}
}