🎉 H2 数据库支持、优化代码

This commit is contained in:
SanLi
2021-06-06 17:55:19 +08:00
parent 4a8c84f97b
commit 6ed6a3e194
7 changed files with 46 additions and 59 deletions

View File

@@ -15,7 +15,7 @@
<dependency>
<groupId>cn.smallbun.screw</groupId>
<artifactId>screw-core</artifactId>
<version>1.0.5</version>
<version>${project.version}</version>
</dependency>
<!--lombok-->
<dependency>

View File

@@ -45,7 +45,7 @@ public interface TypeDialect {
return null;
}
type = type.toLowerCase();
if (type.startsWith("date")) {
return map.get("date");
}