优化包路径

This commit is contained in:
张家训
2026-06-09 09:20:34 +08:00
parent f7c9a4c2fe
commit 55721b6eaf
27 changed files with 46 additions and 45 deletions
+3 -3
View File
@@ -12,11 +12,11 @@
<property name="replaceString" value="Criteria" />
</plugin>
<!-- 只保留Selective版本的方法 -->
<plugin type="com.example.workutils.biz.mybatis.generator.SelectiveOnlyPlugin" />
<plugin type="com.example.workutils.biz.mybatis.service.generator.SelectiveOnlyPlugin" />
<!-- 使用Lombok @Data注解,不生成getter/setter -->
<plugin type="com.example.workutils.biz.mybatis.generator.LombokPlugin" />
<plugin type="com.example.workutils.biz.mybatis.service.generator.LombokPlugin" />
<commentGenerator type="com.example.workutils.biz.mybatis.generator.CustomCommentGenerator">
<commentGenerator type="com.example.workutils.biz.mybatis.service.generator.CustomCommentGenerator">
<!-- 开启数据库字段的中文注释(保留表/字段备注) -->
<property name="addRemarkComments" value="true"/>
</commentGenerator>