From 3ac8922809c1f82c2cb32f001e46dd87097f344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E5=8F=94?= <5411625+uncle_samlee@user.noreply.gitee.com> Date: Sun, 27 Oct 2019 21:11:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=AD=A3=E5=88=99=E8=A1=A8?= =?UTF-8?q?=E8=BE=BE=E5=BC=8F=E5=8E=BB=E9=99=A4=E8=A1=A8=E5=90=8D=E5=89=8D?= =?UTF-8?q?=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/globalConfig/Default/init.vm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/resources/globalConfig/Default/init.vm b/src/main/resources/globalConfig/Default/init.vm index e7cfbb7..eb02fe3 100644 --- a/src/main/resources/globalConfig/Default/init.vm +++ b/src/main/resources/globalConfig/Default/init.vm @@ -1,9 +1,7 @@ ##初始化区域 ##去掉表的t_前缀 -#if($tableInfo.obj.name.startsWith("t_")) - $!tableInfo.setName($tool.getClassName($tableInfo.obj.name.substring(2))) -#end +$!tableInfo.setName($tool.getClassName($tableInfo.obj.name.replaceFirst("book_",""))) -- Gitee