Skip to content

Commit 39cac03

Browse files
committed
update > compatible with uppercase table name
1 parent 4eee7b8 commit 39cac03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/CodeGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ private static String tableNameConvertUpperCamel(String tableName) {
209209
}
210210

211211
private static String tableNameConvertMappingPath(String tableName) {
212+
tableName = tableName.toLowerCase();//兼容使用大写的表名
212213
return "/" + (tableName.contains("_") ? tableName.replaceAll("_", "/") : tableName);
213214
}
214215

0 commit comments

Comments
 (0)