分销
This commit is contained in:
12
src/test/java/com/gxwebsoft/apps/task/OrderTaskTest.java
Normal file
12
src/test/java/com/gxwebsoft/apps/task/OrderTaskTest.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package com.gxwebsoft.apps.task;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
class OrderTaskTest {
|
||||
|
||||
@Test
|
||||
void calcProfit() {
|
||||
}
|
||||
}
|
||||
@@ -22,8 +22,8 @@ import java.util.Map;
|
||||
*/
|
||||
public class ShopGenerator {
|
||||
// 输出位置
|
||||
private static final String OUTPUT_LOCATION = System.getProperty("user.dir");
|
||||
//private static final String OUTPUT_LOCATION = "D:/codegen"; // 不想生成到项目中可以写磁盘路径
|
||||
// private static final String OUTPUT_LOCATION = System.getProperty("user.dir");
|
||||
private static final String OUTPUT_LOCATION = "D:/codegen"; // 不想生成到项目中可以写磁盘路径
|
||||
// 输出目录
|
||||
private static final String OUTPUT_DIR = "/src/main/java";
|
||||
// 作者名称
|
||||
@@ -31,10 +31,10 @@ public class ShopGenerator {
|
||||
// 是否在xml中添加二级缓存配置
|
||||
private static final boolean ENABLE_CACHE = false;
|
||||
// 数据库连接配置
|
||||
private static final String DB_URL = "jdbc:mysql://47.119.165.234:3308/com_gxwebsoft_oa?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8";
|
||||
private static final String DB_URL = "jdbc:mysql://47.119.165.234:3308/open_ws?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8";
|
||||
private static final String DB_DRIVER = "com.mysql.cj.jdbc.Driver";
|
||||
private static final String DB_USERNAME = "com_gxwebsoft_oa";
|
||||
private static final String DB_PASSWORD = "EZfW2R4YiWfbLHLw";
|
||||
private static final String DB_USERNAME = "open_ws";
|
||||
private static final String DB_PASSWORD = "DzAmFiZfPJ6ZGApm";
|
||||
// 包名
|
||||
private static final String PACKAGE_NAME = "com.gxwebsoft";
|
||||
// 模块名
|
||||
@@ -83,7 +83,8 @@ public class ShopGenerator {
|
||||
// "shop_user_comment",
|
||||
// "shop_user_like",
|
||||
// "shop_user_look"
|
||||
"shop_user_feedback"
|
||||
// "shop_user_feedback"
|
||||
"shop_profit_log"
|
||||
|
||||
};
|
||||
// 需要去除的表前缀
|
||||
|
||||
Reference in New Issue
Block a user