diff --git a/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java b/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java index 786ca7c083..a9ad21fd2e 100644 --- a/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java +++ b/designer-realize/src/main/java/com/fr/design/actions/replace/utils/ReplaceUtils.java @@ -778,10 +778,8 @@ public class ReplaceUtils { for (int k = 0; k < ((ListCondition) condition).getJoinConditionCount(); k++) { JoinCondition joinCondition = ((ListCondition) condition).getJoinCondition(k); Condition obCondition = joinCondition.getCondition(); - if (obCondition != null) { - if (obCondition instanceof CommonCondition) { - ans.addAll(searchCondition0((CommonCondition) obCondition)); - } + if (obCondition instanceof CommonCondition) { + ans.addAll(searchCondition0((CommonCondition) obCondition)); } } }