Share a self-developed tool project: code generation|table structure comparison|configuration comparison

Code path: https://github.com/youbl/JpaCodeGenerate

Features

Mybatis-plus code generation tool

Read the table structure from MySQL, and generate the corresponding Java source code file and the corresponding front-end VUE edit/list page, which can be directly copied to the project and
used directly, reducing the trouble of manually writing code. The generated content is as follows:

  • entity
  • mapper
  • service
  • controller
  • dto
  • The mapstruct-mapper conversion class between entity and dto
  • Front-end html page based on VUE2.0

Build instructions:

  • Click on the page 下载文件, and unzip
  • Copy the decompressed files, except html, to the java directory corresponding to your SpringBoot project
  • resources\staticCopy html to the directory of your SpringBoot project
  • Copy the files in the root directory of the project res.zip, which are js, css, fonts and other files that the html page depends on, and extract them to resources\staticthe directory
  • OK, you can start your project, visit the generated html and verify it

MySql database table structure comparison tool (without index)

Read all the table structures of the two databases and compare them.
It is used to confirm that the table structure has been synchronized before publishing.
At the same time, the corresponding brush statement can be generated to facilitate direct submission of operation and maintenance operations.

MySql database index comparison tool

Read and compare the index structures of all tables in the two databases.
Used to confirm that the index has been synchronized before publishing.
At the same time, the corresponding brush statement can be generated to facilitate direct submission of operation and maintenance operations.

Nacos configuration comparison tool

It is used to compare the yml configuration differences of different nacos.
It is also used for configuration comparison between testing and production to avoid release omissions.
At the same time, different yml configuration text can be generated to facilitate direct copying and publishing.

MySql database query tool

Online MySql connection query tool.
It is used for some MySQL queries that cannot open ports, read-only, and does not support updates.
Based on performance and security considerations, it is recommended that the tool be configured to use slave library query.
Note: Many teams use it yearing, but it's not so easy to use.

Guess you like

Origin blog.csdn.net/youbl/article/details/130295426