forked from lxm_tools/screw
解决根据type获取java数据类型的bug
解决当type为大写或者部分字符大写的情况下,字段类型统一转为Object的bug
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user