1 Star 0 Fork 0

RunAtWorld / springboot05-MybatisPlus-Demo

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

springboot05-MybatisPlus-Demo

  1. generator 为 MybatisPlus 代码生成器
  2. mpdemo 为 使用 generator 生成的 Mybatis Plus 代码

MybatisPlus代码生成器

使用MybatisPlus代码生成器生成代码,有以下两个步骤

  1. 修改 generator.properties 文件中的对应属性
  2. 运行 GeneratorCustomTemplate

mpdemo

  1. 运行 mpdemo 的 MpDemoApplication 类,启动应用
  2. 访问

参考

  1. Springboot整合log4j2日志全解 . https://www.cnblogs.com/keeya/p/10101547.html
  2. MyBatisPlus 官方文档 . https://mp.baomidou.com/
  3. SpringBoot整合MyBatisPlus配置动态数据源 . https://www.cnblogs.com/SimpleWu/p/10930388.html
  4. mapper-xml.ftl . https://github.com/quanzhian/generate-code/blob/master/src/com/dibag/code/template/mapper-xml.ftl
  5. MyBatisPlus 官方示例代码 . https://baomidou.oschina.io/mybatis-plus-doc/#/quick-start
  6. CodeGeneratorCustomTemplate.java . https://gitee.com/baomidou/mybatis-plus/blob/2.x/mybatis-plus-generate/src/test/java/com/baomidou/mybatisplus/test/generator/CodeGeneratorCustomTemplate.java
  7. GeneratorServiceEntity . https://gitee.com/baomidou/mybatisplus-spring-boot/blob/2.x/src/test/java/com/baomidou/springboot/test/generator/GeneratorServiceEntity.java

重点关注项目

  1. 人人开源官网 renren.io / 人人开源gitee / 人人开源github

Comments ( 0 )

Sign in for post a comment

About

No description spread retract
AGPL-3.0
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/RunAtWorld/springboot05-MybatisPlus-Demo.git
git@gitee.com:RunAtWorld/springboot05-MybatisPlus-Demo.git
RunAtWorld
springboot05-MybatisPlus-Demo
springboot05-MybatisPlus-Demo
master

Search