From 39cac03ad2f377a0f34585639b468fd837e7e957 Mon Sep 17 00:00:00 2001 From: lihengming <89921218@qq.com> Date: Fri, 30 Jun 2017 13:29:36 +0800 Subject: [PATCH] update > compatible with uppercase table name --- src/test/java/CodeGenerator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/CodeGenerator.java b/src/test/java/CodeGenerator.java index e9131d3..b335184 100644 --- a/src/test/java/CodeGenerator.java +++ b/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); }