This commit is contained in:
iqudoo
2026-04-17 13:19:33 +08:00
parent a73e969431
commit 6423803562

View File

@@ -169,11 +169,16 @@
<plugin type="com.iqudoo.framework.mybatis.TapeRepositoryGeneratorPlugin"/> <plugin type="com.iqudoo.framework.mybatis.TapeRepositoryGeneratorPlugin"/>
<plugin type="com.iqudoo.framework.mybatis.TapeRepoviewGeneratorPlugin"/> <plugin type="com.iqudoo.framework.mybatis.TapeRepoviewGeneratorPlugin"/>
<!-- 搭配使用 -->
<plugin type="org.mybatis.generator.plugins.SerializablePlugin"/>
<plugin type="org.mybatis.generator.plugins.ToStringPlugin"/>
<plugin type="org.mybatis.generator.plugins.UnmergeableXmlMappersPlugin"/>
<!-- 其他配置... --> <!-- 其他配置... -->
</context> </context>
``` ```
### 3. 配置参数说明 ### 3. 全局配置参数说明
| 参数名 | 说明 | 默认值 | 必需 | | 参数名 | 说明 | 默认值 | 必需 |
|--------------------------------|-------------------------------|---------------------------------------------------------|----| |--------------------------------|-------------------------------|---------------------------------------------------------|----|
@@ -196,7 +201,8 @@
| `startPageNum` | 分页开始页码 | `1` | 否 | | `startPageNum` | 分页开始页码 | `1` | 否 |
| `maxPageSize` | 最大每页数量 | `100` | 否 | | `maxPageSize` | 最大每页数量 | `100` | 否 |
### 3. TABLE级配置,未配置时使用全局配置 ### 3. TABLE级配置
> 当存在table配置时以table配置优先未配置时使用全局配置目前支持的table属性如下
| 参数名 | | 参数名 |
|------------------------| |------------------------|
@@ -208,6 +214,8 @@
| `startPageNum` | | `startPageNum` |
| `maxPageSize` | | `maxPageSize` |
示例:
```xml ```xml
<!-- your table --> <!-- your table -->
<table tableName="your table name" <table tableName="your table name"