Răsfoiți Sursa

fix(date): 所有时间类型切换为date类型

1538940682@qq.com 2 ani în urmă
părinte
comite
fab596a736
1 a modificat fișierele cu 7 adăugiri și 7 ștergeri
  1. 7 7
      src/main/resources/generator.properties

+ 7 - 7
src/main/resources/generator.properties

@@ -31,9 +31,9 @@ mediumtext=String
 longtext=String
 json=JSONObject
 
-date=DateTime
-datetime=DateTime
-timestamp=DateTime
+date=Date
+datetime=Date
+timestamp=Date
 
 NUMBER=Integer
 INT=Integer
@@ -52,10 +52,10 @@ NVARCHAR=String
 NVARCHAR2=String
 CLOB=String
 BLOB=String
-DATE=DateTime
-DATETIME=DateTime
-TIMESTAMP=DateTime
-TIMESTAMP(6)=DateTime
+DATE=Date
+DATETIME=Date
+TIMESTAMP=Date
+TIMESTAMP(6)=Date
 
 int8=Long
 int4=Integer