# auto_code **Repository Path**: xiaozh0722/auto_code ## Basic Information - **Project Name**: auto_code - **Description**: 基于springboot+javaFx的一款代码自动生成工具 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2020-09-16 - **Last Updated**: 2025-10-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 项目介绍 基于springboot+javaFx的一款代码自动生成工具。 ### 组织架构 ``` Springboot ├─doc 项目SQL语句以及文档 │ ├─common 公共模块 │ ├─conf springBoot所有配置 │ ├─domain 前台返回包 │ ├─druid druid连接池 │ ├─exception 异常处理包 │ ├─file 文件上传 │ └─support 工具包 │ ├─controller 请求访问模块 │ ├─Mapper Dao模块 │ ├─Model 实体类模块 │ ├─auto mybatis-generator.xml自动生成实体包 │ └─custom 自定义实体 │ ├─Service 服务层模块 │ ├─util 工具模块 │ ├─SpringbootSwagger2Application 启动类 │ ├─resources 配置文件夹 │ ├─generator 自动生成模板以及配置目录 │ │ ├─MyBatisGenerator mybates半自动生成工具 │ │ │ ├─1.bat 执行批处理 │ │ │ ├─generator.xml generator配置文件 │ │ │ ├─mybatis-generator-core-1.3.2.jar generator1.3.2版本 │ │ │ ├─mybatis-generator-core-1.3.7.jar generator1.3.7版本【默认】 │ │ │ └─mysqldriver.jar mysql驱动【该驱动为8.0一下的版本不支持8.0自行替换】 │ │ │ │ │ ├─template 模板文件假 │ │ │ ├─controller anction模板 │ │ │ ├─html html页面模板 │ │ │ ├─mapper dao模板 │ │ │ ├─mapperxml daoxml模板 │ │ │ ├─model 实体模板 │ │ │ ├─service service模板 │ │ │ └─sql sql模板 │ │ │ │ │ └─generator.properties 自动生成配置文件 │ │ │ ├─mybatis mybatis Mapper.xml生成文件夹 │ │ ├─auto自动生成的Mapper.xml文件夹 │ │ └─custom 手写Mapper.xml文件夹 │ │ │ ├─static 静态文件存放文件夹[后台模版就放在此文件夹下面。所有的模版页面都在下面] │ │ ├─admin 后台目录存放 │ │ │ ├─assets js、css存放路径 │ │ │ ├─assets js、css存放路径 │ │ │ └─bootstarp 后台模板存放路径 │ │ ├─js js存放 │ │ └─login 登录页面js、css、image │ │ │ ├─view javaFx窗口 │ │ │ ├─application-dev.yml 开发环境配置 │ ├─application-prod.yml 生产环境配置 │ ├─application.yml springboot配置 │ ├─banner1.txt springboot 启动动画 │ ├─logback.xml log4j配置文件 │ └─mybatis-generator.xml mybates自动生成 xml、dao、model │ └─pom.xml maven.xml ``` ### 技术选项 技术|名称|官网|备注 ---|---|---|--- springboot|springboot框架 || MyBatis Generator|代码生成|| hikari|数据库连接池|| Maven|项目构建管理|| velocity|模板引擎|| druid|阿里连接池|| javaFx|java窗口应用开发|| ### 开发环境 - JDK8.0 - mysql5.7以上 - idea ### 资源下载 - JDK8 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html - Maven http://maven.apache.org/download.cgi ### 启动类 - SpringbootStart 启动类