This commit is contained in:
2024-04-01 22:11:01 +08:00
parent 1a47ed7630
commit 9139457203
622 changed files with 5520 additions and 48434 deletions
-12
View File
@@ -1,13 +1,5 @@
package com.gxwebsoft;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.extra.qrcode.QrCodeException;
import cn.hutool.extra.qrcode.QrCodeUtil;
import cn.hutool.extra.qrcode.QrConfig;
import com.gxwebsoft.apps.service.HualalaService;
import com.gxwebsoft.apps.service.TestDataService;
import com.gxwebsoft.common.system.mapper.RoleMapper;
import com.gxwebsoft.common.system.mapper.UserMapper;
import com.gxwebsoft.common.system.service.SettingService;
@@ -38,10 +30,6 @@ public class TestMain {
@Resource
private OrderMapper orderMapper;
@Resource
private TestDataService testDataService;
@Resource
private HualalaService hualalaService;
@Resource
private SettingService settingService;
@Resource
private UserService userService;
@@ -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://127.0.0.1:3306/vivo?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 = "root";
private static final String DB_PASSWORD = "root";
// 包名
private static final String PACKAGE_NAME = "com.gxwebsoft";
// 模块名
@@ -76,8 +76,8 @@ public class ShopGenerator {
// "shop_recharge_plan",
// "shop_user_balance_log"
// "shop_user_referee",
"shop_order_refund",
"shop_order_refund_address"
// "shop_goods_phone_model",
"shop_goods_price",
};
// 需要去除的表前缀
@@ -31,10 +31,10 @@ public class SysGenerator {
// 是否在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://127.0.0.1:3306/vivo?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 = "root";
private static final String DB_PASSWORD = "root";
// 包名
private static final String PACKAGE_NAME = "com.gxwebsoft";
// 模块名
@@ -49,7 +49,7 @@ public class SysGenerator {
// "sys_company",
// "sys_industry"
// "sys_plug",
"sys_company"
"sys_area"
};
// 需要去除的表前缀
@@ -20,7 +20,7 @@ import java.util.Map;
* @author WebSoft
* @since 2021-09-05 00:31:14
*/
public class TowerGenerator {
public class VivoGenerator {
// 输出位置
private static final String OUTPUT_LOCATION = System.getProperty("user.dir");
// private static final String OUTPUT_LOCATION = ""; // 不想生成到项目中可以写磁盘路径
@@ -31,49 +31,17 @@ public class TowerGenerator {
// 是否在xml中添加二级缓存配置
private static final boolean ENABLE_CACHE = false;
// 数据库连接配置
private static final String DB_URL = "jdbc:mysql://1.14.159.185:3318/tower?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8";
private static final String DB_URL = "jdbc:mysql://127.0.0.1:3306/vivo?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 = "tower";
private static final String DB_PASSWORD = "FXFZrhHbs3pma6Zh";
private static final String DB_USERNAME = "root";
private static final String DB_PASSWORD = "root";
// 包名
private static final String PACKAGE_NAME = "com.gxwebsoft";
// 模块名
private static final String MODULE_NAME = "tower";
private static final String MODULE_NAME = "vivo";
// 需要生成的表
private static final String[] TABLE_NAMES = new String[]{
// "tower_equipment",
// "tower_warehouse",
// "tower_accessory"
// "tower_project",
// "tower_model"
// "tower_contract",
// "tower_contract_equipment",
// "tower_settle",
// "tower_settle_detail",
// "tower_history_settle",
// "tower_lending",
// "tower_lending_settle_list",
// "tower_invoicing",
// "tower_invoicing_settle",
// "tower_income",
// "tower_income_equipment",
// "tower_contract_final_settle",
// "tower_contract_final_settle_lost",
// "tower_worksheet",
// "tower_worksheet_check",
// "tower_worksheet_detail",
// "tower_worksheet_parts",
// "tower_worksheet_set_up",
// "tower_worksheet_audit",
// "tower_worksheet_car_dispatch",
// "tower_project_building",
// "tower_rent",
// "tower_purchase",
// "tower_security",
// "tower_security_record",
// "tower_security_plant",
// "tower_part_goods",
// "tower_part_stock"
"vivo_pay_code",
};
// 需要去除的表前缀
private static final String[] TABLE_PREFIX = new String[]{