修改数据库decimal类型默认转java BigDecimal
This commit is contained in:
parent
c60a0cef7d
commit
bd0d2dd6c9
@ -61,7 +61,8 @@ public class GenUtils {
|
||||
column.setHtmlType(GenConstants.HTML_INPUT);
|
||||
// 数据库的数字字段与java不匹配 且很多数据库的数字字段很模糊 例如oracle只有number没有细分
|
||||
// 所以默认数字类型全为Long可在界面上自行编辑想要的类型 有什么特殊需求也可以在这里特殊处理
|
||||
column.setJavaType(GenConstants.TYPE_LONG);
|
||||
//column.setJavaType(GenConstants.TYPE_LONG);
|
||||
column.setJavaType(GenConstants.TYPE_BIGDECIMAL);
|
||||
}
|
||||
|
||||
// BO对象 默认插入勾选
|
||||
|
Loading…
Reference in New Issue
Block a user