From 1d73ece2f503a95e8710cad482fde03f77a0500c Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Fri, 15 Nov 2019 15:22:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E7=9B=B8=E5=85=B3=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/diboot/core/entity/BaseEntity.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java b/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java index 7072409..6637a07 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java @@ -61,15 +61,6 @@ public abstract class BaseEntity implements Serializable { this.deleted = deleted; } - /*** - * 是否为新建 - * @return - */ - @JSONField(serialize = false) - public boolean isNew(){ - return getId() != null; - } - /*** * model对象转为map * @return