From 3d9db55c0f7505e7add8c09d4b4bff9809168324 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 06 十一月 2025 09:36:07 +0800
Subject: [PATCH] 初始化代码

---
 generator/src/test/java/com/laboratory/CodeGeneratorTests.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/generator/src/test/java/com/laboratory/CodeGeneratorTests.java b/generator/src/test/java/com/laboratory/CodeGeneratorTests.java
index 07e033c..4191df7 100644
--- a/generator/src/test/java/com/laboratory/CodeGeneratorTests.java
+++ b/generator/src/test/java/com/laboratory/CodeGeneratorTests.java
@@ -20,7 +20,7 @@
 
     private static final String DRIVER_NAME = "com.mysql.cj.jdbc.Driver";
 
-    private static final String JDBC_URL = "jdbc:mysql://127.0.0.1:3306/intelligent_dispatching?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai";
+    private static final String JDBC_URL = "jdbc:mysql://127.0.0.1:3306/mobile_community?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai";
     private static final String USER_NAME = "root";
     private static final String PASSWORD = "123456";
 
@@ -35,7 +35,7 @@
 
         // 全局配置
         GlobalConfig gc = new GlobalConfig();
-        String projectPath = "F:\\workSpace\\intelligent_dispatching\\generator";
+        String projectPath = "F:\\workSpace\\mobile_community\\generator";
         gc.setOutputDir(projectPath + "/src/main/java")
                 .setAuthor("xiaochen")
                 .setMapperName("%sMapper")
@@ -144,7 +144,7 @@
 //         strategy.setTablePrefix(pc.getModuleName() + "");
 //        strategy.setLikeTable(new LikeTable("room"));
         //strategy.setLikeTable(new LikeTable("member"));
-        strategy.setLikeTable(new LikeTable("t_mission_reassign"));// 生成表名
+        strategy.setLikeTable(new LikeTable("t_"));// 生成表名
 //        strategy.setLikeTable(new LikeTable("t_hotel"));// 生成表名
 //        strategy.setLikeTable(new LikeTable("t_scan_message"));// 生成表名
 //        strategy.setNotLikeTable(new LikeTable("hotel_info"));// 不生成表名

--
Gitblit v1.7.1