修改代码生成类名
This commit is contained in:
@@ -15,7 +15,7 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* @author ww
|
* @author ww
|
||||||
*/
|
*/
|
||||||
public class Main {
|
public class CodeGen {
|
||||||
// private final static String BASE_URL = "rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com";
|
// private final static String BASE_URL = "rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com";
|
||||||
private final static String BASE_URL = "192.168.1.42";
|
private final static String BASE_URL = "192.168.1.42";
|
||||||
private final static String PORT = "3306";
|
private final static String PORT = "3306";
|
||||||
@@ -33,16 +33,16 @@ public class Main {
|
|||||||
|
|
||||||
|
|
||||||
// String packageName = "system";
|
// String packageName = "system";
|
||||||
String packageName = "account";
|
// String packageName = "account";
|
||||||
// String packageName = "product";
|
// String packageName = "product";
|
||||||
// String packageName = "market";
|
String packageName = "market";
|
||||||
// tableName 指定需要生成的表
|
// tableName 指定需要生成的表
|
||||||
String tableName = "ac_user_msg";
|
String tableName = "pp_package_order";
|
||||||
String author = "gyj";
|
String author = "gyj";
|
||||||
//是否生成DTO实体 默认生成
|
//是否生成DTO实体 默认生成
|
||||||
boolean isGenerateDto = true;
|
boolean isGenerateDto = true;
|
||||||
|
|
||||||
// initTableEntity(packageName, tableName, author, isGenerateDto);
|
initTableEntity(packageName, tableName, author, isGenerateDto);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initTableEntity(String packageName, String tableName, String author, boolean isGenerateDto) {
|
public static void initTableEntity(String packageName, String tableName, String author, boolean isGenerateDto) {
|
||||||
Reference in New Issue
Block a user