mybatis-generator-gui-extension icon indicating copy to clipboard operation
mybatis-generator-gui-extension copied to clipboard

mapper接口和 map.xml Example 相关的信息能不能去掉

Open snbz opened this issue 6 years ago • 2 comments

I'm submitting a...

  • [ ] Bug report (BUG 报告)
  • [x] Feature request (功能建议)
  • [ ] Documentation issue or request (文档相关)

Current behavior

mapper 接口和 mapper.xml 里生成了太多的EXample 相关的信息,其实,在开发中用不到,想让接口和mapper.xml 精简写

Expected behavior

期望增加 是否启用Example 相关信息的配置

Minimal reproduction of the problem with instructions

Environment

JDK Version:

  • [x] OracleJDK 8u40+
  • [ ] OpenJDK 8+ with openjfx

Database:

  • [x] MySQL/MariaDB
  • [ ] Oracle
  • [ ] SQL Server
  • [ ] others

Others:

snbz avatar Aug 09 '19 07:08 snbz

在DAO设置中 把,所有Example 有关的都取消掉就不会生成了

Clierbin avatar Sep 09 '19 11:09 Clierbin

右上角 关闭简洁模式,然后把Example相关的勾全部去掉即可

qlxxxiao avatar Sep 22 '19 02:09 qlxxxiao