解决根据type获取java数据类型的bug

解决当type为大写或者部分字符大写的情况下,字段类型统一转为Object的bug
This commit is contained in:
xiaohu-liu
2021-06-04 13:49:24 +08:00
committed by GitHub
parent 2c7eef188a
commit 09860b5fa9

View File

@@ -44,6 +44,8 @@ public interface TypeDialect {
if (type == null || map == null || map.size() == 0) {
return null;
}
type = type.toLowerCase();
if (type.startsWith("date")) {
return map.get("date");
}