mybatis-generator-plugin
mybatis-generator-plugin copied to clipboard
Mybatis Generator 代码生成插件拓展,增加:查询单条数据插件(SelectOneByExamplePlugin)、MySQL分页插件(LimitPlugin)、数据Model链式构建插件(ModelBuilderPlugin)、Example Criteria 增强插件(ExampleEnh...
- 在用注解形式的mybatis - 不想造轮子 - 作者快写啊,现在xml做的很不错
单元测试类:XmlElementBuilderTest 楼主,原先代码没有push到master,导致你这边merge是空的。
逻辑删除插件(LogicalDeletePlugin)其实需要需要表 enableUpdateByExample="true", 需要文档补充一下,谢谢~
xml里生成的.toString()是不是没啥用,红波浪线看着别扭,能不能去掉 
希望增加 支持插入后获取主键ID的值,keyProperty="cartId" useGeneratedKeys="true"
1.4 可以更好的支持 kotlin 项目~~希望更新一下
希望增加 支持插入后获取主键ID的值,keyProperty="cartId" useGeneratedKeys="true"
在javaClientGenerator.type = ANNOTATEDMAPPER | MIXEDMAPPER模式下,生成的selectByPrimaryKeySelective(@Param("id") Long id, @Param("selective") Tb.Column ... selective);没有生成对应sql