|
@@ -50,7 +50,12 @@ public class SpringBeanTaskInvoke implements ITaskInvoke {
|
|
|
if (StrUtil.isNotEmpty(sysJob.getMethodParamsValue())) {
|
|
if (StrUtil.isNotEmpty(sysJob.getMethodParamsValue())) {
|
|
|
method = target.getClass().getDeclaredMethod(sysJob.getMethodName(), String.class);
|
|
method = target.getClass().getDeclaredMethod(sysJob.getMethodName(), String.class);
|
|
|
ReflectionUtils.makeAccessible(method);
|
|
ReflectionUtils.makeAccessible(method);
|
|
|
- returnValue = method.invoke(target, sysJob.getMethodParamsValue());
|
|
|
|
|
|
|
+ int jobId = sysJob.getJobId();
|
|
|
|
|
+ String params = sysJob.getMethodParamsValue();
|
|
|
|
|
+ if (jobId == 27 || jobId == 28 || jobId == 29 || jobId == 30) {
|
|
|
|
|
+ params = params + "," + sysJob.getUuid();
|
|
|
|
|
+ }
|
|
|
|
|
+ returnValue = method.invoke(target, params);
|
|
|
} else {
|
|
} else {
|
|
|
method = target.getClass().getDeclaredMethod(sysJob.getMethodName());
|
|
method = target.getClass().getDeclaredMethod(sysJob.getMethodName());
|
|
|
ReflectionUtils.makeAccessible(method);
|
|
ReflectionUtils.makeAccessible(method);
|