优化包路径
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user