From 9a8300e7319eb84226ef275c957bf2a53193e1a6 Mon Sep 17 00:00:00 2001 From: "wangiegie@gmail.com" Date: Tue, 28 Nov 2017 17:51:47 +0800 Subject: [PATCH] =?UTF-8?q?end:=20=E5=AE=8C=E6=88=90=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=EF=BC=8C=E6=94=AF=E6=8C=81vue=E5=A2=9E?= =?UTF-8?q?=E5=88=A0=E6=9F=A5=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig/admin/util/MybatisPlusGenerator.java | 2 +- .../main/resources/template/listvue.vue.vm | 112 +++++++++++++++++- 2 files changed, 107 insertions(+), 7 deletions(-) diff --git a/pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java b/pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java index dc1bf5f2..fe7905ac 100644 --- a/pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java +++ b/pig-admin-service/src/main/java/com/github/pig/admin/util/MybatisPlusGenerator.java @@ -55,7 +55,7 @@ public class MybatisPlusGenerator { // 策略配置 StrategyConfig strategy = new StrategyConfig(); // strategy.setCapitalMode(true);// 全局大写命名 ORACLE 注意 - //strategy.setTablePrefix(new String[]{"tlog_", "tsys_"});// 此处可以修改为您的表前缀 + strategy.setTablePrefix(new String[]{"sys_"});// 此处可以修改为您的表前缀 // 表名生成策略 strategy.setNaming(NamingStrategy.underline_to_camel); mpg.setStrategy(strategy); diff --git a/pig-admin-service/src/main/resources/template/listvue.vue.vm b/pig-admin-service/src/main/resources/template/listvue.vue.vm index 26eb9fd4..8dc4f9c2 100644 --- a/pig-admin-service/src/main/resources/template/listvue.vue.vm +++ b/pig-admin-service/src/main/resources/template/listvue.vue.vm @@ -1,20 +1,25 @@