# mybatisgenerator
**Repository Path**: ShiSanBoy/mybatisgenerator
## Basic Information
- **Project Name**: mybatisgenerator
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2019-08-01
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
使用手册:
MBG:
git@gitee.com:ShiSanBoy/mybatisgenerator.git
MBG-PLUGIN
git@gitee.com:ShiSanBoy/mbg-plugins.git
1.下载MBG-PLUGIN,导入idea,mvn clean install,安装到本地仓库
2.下载MBG,修改jdbc.properties以及pom.xml
3.刷新右边的maven,找到plugins里面的mybatis-generator,执行生成代码
4.将代码迁入本地工程,同时在本地工程引入依赖:
tk.mybatis
mapper
3.4.6
5.将父工程的javax.servlet-api的版本更改为3.0.1
javax.servlet
servlet-api
${servlet-api.version}
provided
更改为
javax.servlet
javax.servlet-api
3.0.1
provided
6.修改health_dao配置文件applicationContext-dao.xml里面的包扫描类路径:
tk.mybatis.spring.mapper.MapperScannerConfigurer
7.运用新的接口实现增删改查。(具体可参考ROLE模板代码)
```
这里输入代码
```