# free-mybatis-plugin
**Repository Path**: wuzhizhan/free-mybatis-plugin-introduction
## Basic Information
- **Project Name**: free-mybatis-plugin
- **Description**: free-mybatis-plugin 项目介绍。有bug及需求可在此反馈。
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 58
- **Forks**: 24
- **Created**: 2020-12-25
- **Last Updated**: 2024-07-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[中文](README.md) |
[ENGLISH](README_EN.md)
## Description
A idea plugin for mybatis .
free-mybatis-plugin is an enchange plugin for idea to supoort mybatis,here is the main functions:
- generate mapper xml files
- navigate from the code to mapper and from the mapper back to code
- auto code and error tips
## How To Use
- generate mapper files
- alter+enter


- generate statement
- alter+enter

- from dao to mapper(can also use ctrl+B)

- from mapper to dao(can also use ctrl+b)

## mybatis generator gui usage
- database configuration


- elect one or more tables,right click and select mybatis generator to open generatoe main UI.

- mybatis generator configuration

- notice:If your database is mysql8,please add '?serverTimezone=GMT' and select mysql8 option
## Reference
- better-mybatis-generator https://github.com/kmaster/better-mybatis-generator
- mybatis-generator-gui https://github.com/zouzg/mybatis-generator-gui
- MyBatisCodeHelper-Pro https://github.com/gejun123456/MyBatisCodeHelper-Pro
## TODO
- generate bean accourding to database field (done)
- generate CURD code (done)