From 8082a597e07bce2c413e3cdc29c5dd7c9e869943 Mon Sep 17 00:00:00 2001 From: wangbing Date: Thu, 12 Dec 2019 17:54:39 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81API=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: dcd83e8c91c895232378d9b7ae91b018c3347f93 --- .../java/xyz/wbsite/dbtool/javafx/tool/RequestReader.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); + } } }