diff --git a/src/main/java/xyz/wbsite/dbtool/javafx/tool/RequestReader.java b/src/main/java/xyz/wbsite/dbtool/javafx/tool/RequestReader.java index 4d09f3bf..86ff4dfd 100644 --- a/src/main/java/xyz/wbsite/dbtool/javafx/tool/RequestReader.java +++ b/src/main/java/xyz/wbsite/dbtool/javafx/tool/RequestReader.java @@ -108,7 +108,10 @@ public class RequestReader { if (matcher.find()) { String group = matcher.group(2); - deptEntList.add(group); + Set javaField = Tool.getJavaField(); + if (!javaField.contains(group)) { + deptEntList.add(group); + } } }