From d80822f42490e556b91df29ad169f626f73ca5c3 Mon Sep 17 00:00:00 2001 From: AriaLyy <511455842@qq.com> Date: Tue, 4 Jul 2017 19:44:54 +0800 Subject: [PATCH] =?UTF-8?q?as=20=E7=83=AD=E5=90=AF=E5=8A=A8bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aria/src/main/java/com/arialyy/aria/orm/DbEntity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Aria/src/main/java/com/arialyy/aria/orm/DbEntity.java b/Aria/src/main/java/com/arialyy/aria/orm/DbEntity.java index 4378c2d8..fc42e75c 100644 --- a/Aria/src/main/java/com/arialyy/aria/orm/DbEntity.java +++ b/Aria/src/main/java/com/arialyy/aria/orm/DbEntity.java @@ -161,8 +161,7 @@ public class DbEntity { List values = new ArrayList<>(); for (Field field : fields) { field.setAccessible(true); - Ignore ignore = field.getAnnotation(Ignore.class); - if (ignore != null && ignore.value()) { + if (SqlHelper.ignoreField(field)) { continue; } where.add(field.getName());