Skip to content

Commit

Permalink
update > compatible with uppercase table name
Browse files Browse the repository at this point in the history
  • Loading branch information
lihengming committed Jun 30, 2017
1 parent 4eee7b8 commit 39cac03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/CodeGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ private static String tableNameConvertUpperCamel(String tableName) {
}

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

Expand Down

0 comments on commit 39cac03

Please sign in to comment.