Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

sql-to-mybatisplus-java

generate mybatisplus's things

structure

src
└── main
    └── java
        ├── com.example (right click,input sql)
CREATE TABLE `tb_service_account`(
    `id` BIGINT  NOT NULL AUTO_INCREMENT COMMENT 'id comment',
    `name` VARCHAR(255) NOT NULL COMMENT 'name comment',
    `created_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `updated_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
    PRIMARY KEY(`id`)
)

output

"com.example.entity.${entityName}PO",
"com.example.mapper.${entityName}Mapper",
"com.example.dao.${entityName}DAO",

ref

https://mybatis.org/generator/running/runningWithJava.html

org.mybatis.generator.api.dom.java.render.TopLevelClassRenderer.render

https://github.com/Wohoo22/mapping-generator-intellij-plugin

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages