提交 3c9f55ea 编写于 作者: M MaxKey

2.3 jars

上级 77e39630
......@@ -158,6 +158,7 @@ public class MybatisAutoConfiguration implements InitializingBean {
}
}
if (StringUtils.hasLength(this.properties.getTableColumnCase())) {
//default is lowercase
if(this.properties.getTableColumnCase().equalsIgnoreCase("uppercase")) {
MapperMetadata.TABLE_COLUMN_CASE = CASE_TYPE.UPPERCASE;
......@@ -168,6 +169,9 @@ public class MybatisAutoConfiguration implements InitializingBean {
}else {
MapperMetadata.TABLE_COLUMN_CASE = CASE_TYPE.LOWERCASE;
}
}else {
MapperMetadata.TABLE_COLUMN_CASE = CASE_TYPE.LOWERCASE;
}
if(this.properties.getTableColumnSnowflakeDatacenterId()>0 &&
this.properties.getTableColumnSnowflakeMachineId()>0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册