update > compatible with uppercase table name

master
lihengming 8 years ago
parent 4eee7b8ced
commit 39cac03ad2
  1. 1
      src/test/java/CodeGenerator.java

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

Loading…
Cancel
Save