update
This commit is contained in:
parent
532eeb6026
commit
9f6876f1cd
@ -6,3 +6,5 @@ pluginManagement {
|
||||
}
|
||||
}
|
||||
rootProject.name = 'code-generator'
|
||||
include 'timemail'
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@ public class Main {
|
||||
* </p>
|
||||
*/
|
||||
public static String scanner(String tip) {
|
||||
System.out.printf("当前路径"+System.getProperty("user.dir"));
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
StringBuilder help = new StringBuilder();
|
||||
help.append("请输入" + tip + ":");
|
||||
@ -127,6 +128,7 @@ public class Main {
|
||||
strategy.setSuperControllerClass("你自己的父类控制器,没有就不用设置!");
|
||||
// 写于父类中的公共字段
|
||||
strategy.setSuperEntityColumns("id");
|
||||
strategy.setTablePrefix("tm_");
|
||||
strategy.setInclude(scanner("表名,多个英文逗号分割").split(","));
|
||||
strategy.setControllerMappingHyphenStyle(true);
|
||||
strategy.setTablePrefix(pc.getModuleName() + "_");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user