From 796ee4bda8f92c06c320b01e4ffb8038189279ac Mon Sep 17 00:00:00 2001 From: ZhengJie <201507802@qq.com> Date: Wed, 6 May 2020 22:31:40 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BB=A3=E7=A0=81=E5=AE=8C=E5=96=84](v2.5):?= =?UTF-8?q?=20v2.5=20beta=20update=20Entity.ftl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #334 2.5 Beta 详情:https://www.ydyno.com/archives/1225.html --- .../src/main/resources/template/generator/admin/Entity.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eladmin-system/src/main/resources/template/generator/admin/Entity.ftl b/eladmin-system/src/main/resources/template/generator/admin/Entity.ftl index ad138ab5..9a7d7e34 100644 --- a/eladmin-system/src/main/resources/template/generator/admin/Entity.ftl +++ b/eladmin-system/src/main/resources/template/generator/admin/Entity.ftl @@ -63,7 +63,7 @@ public class ${className} implements Serializable { @NotNull - <#if column.dateAnnotation??> + <#if (column.dateAnnotation)??> <#if column.dateAnnotation = 'CreationTimestamp'> @CreationTimestamp <#else>