From 7a7bf42d925f05758683ac053eb2a0f6f0c54834 Mon Sep 17 00:00:00 2001 From: yupeng <roc__yu@163.com> Date: 星期六, 08 二月 2025 12:24:29 +0800 Subject: [PATCH] feat:新增订单/账单关联表、支付订单表、新增小程序创建订单接口 --- generator/src/test/java/com/xizang/CodeGeneratorTests.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/generator/src/test/java/com/xizang/CodeGeneratorTests.java b/generator/src/test/java/com/xizang/CodeGeneratorTests.java index 1a91271..8b01fd2 100644 --- a/generator/src/test/java/com/xizang/CodeGeneratorTests.java +++ b/generator/src/test/java/com/xizang/CodeGeneratorTests.java @@ -5,11 +5,13 @@ import com.baomidou.mybatisplus.generator.InjectionConfig; import com.baomidou.mybatisplus.generator.config.*; import com.baomidou.mybatisplus.generator.config.po.LikeTable; +import com.baomidou.mybatisplus.generator.config.po.TableFill; import com.baomidou.mybatisplus.generator.config.po.TableInfo; import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy; import org.junit.Test; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; /** @@ -35,7 +37,7 @@ // 全局配置 GlobalConfig gc = new GlobalConfig(); - String projectPath = "F:\\workSpace\\xizang\\generator"; + String projectPath = "D:\\workspaces\\Project\\company\\changyun\\xizang\\xizang\\generator"; gc.setOutputDir(projectPath + "/src/main/java") .setAuthor("xiaochen") .setMapperName("%sMapper") @@ -144,7 +146,7 @@ // strategy.setTablePrefix(pc.getModuleName() + ""); // strategy.setLikeTable(new LikeTable("room")); //strategy.setLikeTable(new LikeTable("member")); - strategy.setLikeTable(new LikeTable("t_"));// 生成表名 + strategy.setLikeTable(new LikeTable("order"));// 生成表名 // strategy.setLikeTable(new LikeTable("t_hotel"));// 生成表名 // strategy.setLikeTable(new LikeTable("t_scan_message"));// 生成表名 // strategy.setNotLikeTable(new LikeTable("hotel_info"));// 不生成表名 -- Gitblit v1.7.1