mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
fix: a silly mistake,orz
This commit is contained in:
parent
b3ca7fd670
commit
aee69a4167
@ -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.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