mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
fix: compile error in official processors module
This commit is contained in:
parent
d20cbdb844
commit
f4d7459f63
@ -17,7 +17,7 @@ public class CommonUtils {
|
|||||||
|
|
||||||
public static String parseParams(TaskContext context) {
|
public static String parseParams(TaskContext context) {
|
||||||
// 工作流中的总是优先使用 jobParams
|
// 工作流中的总是优先使用 jobParams
|
||||||
if (context.getWfInstanceId() != null) {
|
if (context.getWorkflowContext().getWfInstanceId() != null) {
|
||||||
return context.getJobParams();
|
return context.getJobParams();
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotEmpty(context.getInstanceParams())) {
|
if (StringUtils.isNotEmpty(context.getInstanceParams())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user