Skip to content

Commit dfd9433

Browse files
committed
* 驼峰转下划线后_后的字符大小写问题
1 parent 0ccf4da commit dfd9433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/tk/mybatis/mapper/util/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static String camelhumpToUnderline(String str) {
9292
for (int i = 0; i < size; i++) {
9393
c = chars[i];
9494
if (isUppercaseAlpha(c)) {
95-
sb.append('_').append(toLowerAscii(c));
95+
sb.append('_').append(c);
9696
} else {
9797
sb.append(toUpperAscii(c));
9898
}

0 commit comments

Comments
 (0)