fix: a silly mistake,orz

This commit is contained in:
Echo009 2021-03-04 09:14:06 +08:00
parent b3ca7fd670
commit aee69a4167

View File

@ -17,7 +17,7 @@ public class CommonUtils {
public static String parseParams(TaskContext context) {
// 工作流中的总是优先使用 jobParams
if (context.getWfInstanceId() == null) {
if (context.getWfInstanceId() != null) {
return context.getJobParams();
}
if (StringUtils.isNotEmpty(context.getInstanceParams())) {