Code automatic generation method and system based on springboot framework
By using a code generation method and system based on the Spring Boot framework, the problems of low coding efficiency and poor code standardization in existing technologies are solved, enabling the rapid generation of high-quality web project code and improving development efficiency and code standardization.
CN116301780BActive Publication Date: 2026-05-29JINAN INSTITUTE OF SUPERCOMPUTING TECHNOLOGY
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JINAN INSTITUTE OF SUPERCOMPUTING TECHNOLOGY
- Filing Date
- 2022-09-09
- Publication Date
- 2026-05-29
Smart Images

Figure CN116301780B_ABST
Abstract
The application discloses a code automatic generation method and system based on a Springboot framework, and the method comprises the following steps: setting a template file; generating a database file from the template file; reading the database file, reading a database table name and saving the same into an automatic generation package configuration table gen_table, reading the content of the database and saving the same into an automatic generation column configuration table gen_table_column, and storing the master-slave relationship of the database into the automatic generation package configuration table gen_table; and generating code according to the information in the automatic generation column configuration table gen_table_column and the template file. The code generation technology is used to read the content in the file and generate a complete set of relevant code, including the code required by the current mainstream framework, such as a front end, a server end, database operation and the like. The application improves the development efficiency, is simple to operate, and shortens the development time of developers.
Need to check novelty before this filing date? Find Prior Art