CN111966340A - Code generation method, device, equipment and medium based on Mybatis framework - Google Patents
Code generation method, device, equipment and medium based on Mybatis framework Download PDFInfo
- Publication number
- CN111966340A CN111966340A CN202010843480.3A CN202010843480A CN111966340A CN 111966340 A CN111966340 A CN 111966340A CN 202010843480 A CN202010843480 A CN 202010843480A CN 111966340 A CN111966340 A CN 111966340A
- Authority
- CN
- China
- Prior art keywords
- code
- code generation
- template file
- metadata information
- generating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000002452 interceptive effect Effects 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 239000000126 substance Substances 0.000 claims description 3
- 230000008571 general function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 238000007792 addition Methods 0.000 description 4
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 230000002085 persistent effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a code generation method, a device, equipment and a medium based on a Mybatis framework, which are applied to an object code generation tool, wherein the object code generation tool is a code generation tool issued in a war package form, and the method comprises the following steps: acquiring database information determined by a user terminal through a web interactive interface; acquiring metadata information of a corresponding table by using the database information; and generating a corresponding target code by using the metadata information and the code template file. In this way, the corresponding code is generated by the code generation tool issued in the form of the war package, dependence on the IDE is avoided, and the metadata information and the code template file are used for generating the corresponding code, so that the code generation efficiency and the code universality are improved.
Description
Technical Field
The present application relates to the field of code generation technologies, and in particular, to a code generation method, apparatus, device, and medium based on a Mybatis framework.
Background
At present, the persistent layer framework on the market is various, wherein for applications mainly based on Mybatis, the development efficiency is low, so that the improvement of the code generation efficiency is a problem to be solved at present, and related code generation tools are many, but most of the related code generation tools are tightly coupled with corresponding IDEs in a plug-in mode, and cannot be used when being separated from the IDEs, so that a tool independent of the IDEs is urgently needed to generate the universal business codes. Furthermore, the code generation tools in the open source market have uneven code quality, and many generated codes cannot be universally used, so that a tool is urgently needed to generate universal application codes.
Disclosure of Invention
In view of the above, an object of the present application is to provide a code generation method, apparatus, device and medium based on Mybatis framework, which can avoid dependency on IDE and improve code generation efficiency and code universality. The specific scheme is as follows:
in a first aspect, the present application discloses a code generation method based on a Mybatis framework, which is applied to an object code generation tool, where the object code generation tool is a code generation tool issued in a war package form, and includes:
acquiring database information determined by a user terminal through a web interactive interface;
acquiring metadata information of a corresponding table by using the database information;
and generating a corresponding target code by using the metadata information and the code template file.
Optionally, the code generation method further includes:
and saving the metadata information into a global object.
Optionally, the obtaining metadata information of the corresponding table by using the database information includes:
and establishing corresponding database connection by JDBC by using the database information to acquire the metadata information.
Optionally, the generating a corresponding object code by using the metadata information and the code template file includes:
generating a corresponding target code by using the metadata information and the code template file; the code template file is a template file predefined by using a freemarker or a velocity template tool, and the code template file comprises: a Mapper template file, a DAO interface template file, a service layer implementation type template file, an entity type template file and a Controller type template file.
Optionally, the generating a corresponding object code by using the metadata information and the code template file includes:
calling a template library corresponding to the freemarker or velocity template tool;
and generating a corresponding target code by using the metadata information and the code template file.
Optionally, after generating the corresponding object code by using the metadata information and the code template file, the method further includes:
storing the target code into a temporary folder, and compressing the temporary folder to obtain a corresponding tar.gz compressed packet;
and downloading the tar.gz compressed packet to the user terminal.
In a second aspect, the present application discloses a code generation apparatus based on Mybatis framework, which is applied to an object code generation tool, where the object code generation tool is a code generation tool issued in a war package form, and includes:
the database information acquisition module is used for acquiring the database information determined by the user terminal through the web interactive interface;
the metadata information acquisition module is used for acquiring metadata information of a corresponding table by utilizing the database information;
and the object code generating module is used for generating a corresponding object code by using the metadata information and the code template file.
Optionally, the code generating apparatus further includes:
and the metadata information storage module is used for storing the metadata information into the global object.
In a third aspect, the present application discloses an electronic device comprising a processor and a memory; wherein the content of the first and second substances,
the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the code generation method.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements a code generation method as recited in the preceding claims.
Therefore, the code generation method based on the Mybatis framework disclosed by the application is applied to an object code generation tool, the object code generation tool is a code generation tool issued in a war package form, and the method comprises the following steps: acquiring database information determined by a user terminal through a web interactive interface; acquiring metadata information of a corresponding table by using the database information; and generating a corresponding target code by using the metadata information and the code template file. In this way, the corresponding code is generated by the code generation tool issued in the form of the war package, dependence on the IDE is avoided, and the metadata information and the code template file are used for generating the corresponding code, so that the code generation efficiency and the code universality are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a code generation method based on a Mybatis framework disclosed in the present application;
FIG. 2 is a flowchart of a specific code generation method based on a Mybatis framework disclosed in the present application;
FIG. 3 is a flowchart of a specific code generation method based on the Mybatis framework disclosed in the present application;
FIG. 4 is a schematic structural diagram of a code generation apparatus based on a Mybatis framework disclosed in the present application;
fig. 5 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, the persistent layer framework on the market is various, wherein for applications mainly based on Mybatis, the development efficiency is low, so that the improvement of the code generation efficiency is a problem to be solved at present, and related code generation tools are many, but most of the related code generation tools are tightly coupled with corresponding IDEs in a plug-in mode, and cannot be used when being separated from the IDEs, so that a tool independent of the IDEs is urgently needed to generate the universal business codes. Furthermore, the code generation tools in the open source market have uneven code quality, and many generated codes cannot be universally used, so that a tool is urgently needed to generate universal application codes. Therefore, the application discloses a code generation scheme based on a Mybatis framework, which can avoid dependence on IDE and improve the efficiency of code generation and the universality of codes.
Referring to fig. 1, an embodiment of the present application discloses a code generation method based on a Mybatis framework, which is applied to an object code generation tool, where the object code generation tool is a code generation tool issued in a war package form, and includes:
step S11: and acquiring the database information determined by the user terminal through a web interactive interface.
In a specific implementation manner, the object code tool may be generated in advance, an interaction mode of the object code tool is a WEB mode, a back end is developed by using Java language, a back end framework is developed by using springbook, a front end is developed by using nodejs, a component library is developed by using ant, and a database connection engine is developed by using JDBC. Firstly, building a web service, creating a web interactive interface, specifically building the web service by using a Springboot frame, and developing a web interactive page by nodejs to form the basic appearance of the whole tool. The whole tool is released in the form of a war package, does not depend on any IDE, and is not bound with other tools. Other similar code generation tools rely on specific IDEs, which results in non-generic tools. Or some generation tools are independent but written by a heavyweight-based Swing component, so that the tools start slowly, and the user experience of the interactive mode is low.
Step S12: and acquiring the metadata information of the corresponding table by using the database information.
In a specific implementation manner, in this embodiment, the database information is used to establish a corresponding database connection through JDBC, so as to obtain the metadata information.
Specifically, after a user specifies a database, a table, a user name and a password on a web interaction page, a background program of the tool can automatically drive to connect the database and the table specified by the user through JDBC to acquire metadata information of the table, such as a field, a length, a type and the like.
Step S13: and generating a corresponding target code by using the metadata information and the code template file.
In a specific implementation manner, the present embodiment generates a corresponding object code by using the metadata information and a code template file; the code template file is a template file predefined by using a freemarker or a velocity template tool, and the code template file comprises: a Mapper template file, a DAO interface template file, a service layer implementation type template file, an entity type template file and a Controller type template file.
In addition, the process of generating a corresponding object code by using the metadata information and the code template file in this embodiment includes: calling a template library corresponding to the freemarker or velocity template tool; and generating a corresponding target code by using the metadata information and the code template file. Specifically, the metadata information is used for replacing the corresponding placeholder in the code template file, and the corresponding target code is generated.
Furthermore, the first template file realizes general functions, and the general functions include paging query, conditional query, addition, deletion, modification and check, and batch addition, deletion, modification and check. It can be understood that when the application program of which the persistence layer is based on the Mybatis framework is constructed, a large number of Mapper configurations are usually written according to services, and at present, most of the written Mapper configurations are related to specific services and cannot be commonly used for all services, so that a large amount of time is consumed, development efficiency is reduced, and later maintenance is difficult due to non-common codes. Through the first template file, the universal persistence layer code based on the Mybatis framework can be generated quickly, and the labor force is liberated.
It is noted that the template library includes a dependency that replaces corresponding placeholders in the code template file with corresponding metadata information.
In addition, the embodiment may store the target code in a temporary folder, and compress the temporary folder to obtain a corresponding tar.gz compressed packet; and downloading the tar.gz compressed packet to the user terminal. The temporary folder is created after the object code is generated and used for storing the generated object code.
It should be noted that, since the generated code of the present embodiment is based on the Mybatis framework, the generated code is divided into the following three layers: the DAO layer is a persistent layer, a service layer, and a service layer, that is, the object code includes a persistent layer code, a service layer code, and specifically includes a Mapper mapping, a DAO interface, a service layer implementation, an entity class, and a Controller layer. Wherein the content of the first and second substances,
and (3) generating a Mapper mapping XML file: template tools such as freemarker or velocity are adopted, a Mapper template file is well defined in advance, and the read metadata information is applied to placeholders in the template file. The Mapper template file realizes general functions, wherein the general functions comprise paging query, conditional query, addition, deletion, modification and check and batch addition, deletion, modification and check. It should be noted that the most common functions in a general service are paging query, conditional query, add/delete modify check, and batch add/delete modify check, which usually implement the above functions, and achieve more than 90% of code commonality, for example, a Mapper template including the above general functions is predefined by using a velocity syntax, and the codes of the whole Mapper template are 120 lines. And placeholders in the template can be replaced with metadata to fit any table structure and type.
Generating a DAO interface: the DAO interface is corresponding to a Mapper mapping file, a designated name space is arranged in the Mapper, a DAO path is corresponding to the name space, an interface method in the DAO is corresponding to each ID in the Mapper, a template file of the DAO interface is defined in advance according to the information, and then DAO interface codes are generated through a template library such as freemarker or veocity.
And (3) generation of entity classes: the generation rule of the entity class is mainly based on metadata read from the metadata of the table, such as fields, field types, lengths and the like, the field names correspond to attribute names in the entity class, in a specific implementation mode, all the field names are converted into hump names, the types and the lengths of the fields correspond to basic types of the attributes in the entity class, the generation process of the entity class is to pre-define a freemarker or velocity template file, and a template library is called to generate the entity class.
And (3) generation of service layer interfaces and service layer implementation classes: the service layer interfaces are all universal, the only change places are names and parameter names, and the places to be noted on the service layer code implementation class are those which need transactions and those which do not need transactions, generally speaking, operations without data modification do not need transactions. For most service implementation classes, the basic code logic is similar, the change is mainly the fields and the primary keys of the tables, the corresponding freemarker or velocity template is predefined according to the rules, and then the template library is called to generate the code of the service layer.
And finally, all the codes are successfully generated, all the generated codes are stored in a temporary folder, and are packaged into a tar.gz compressed packet which is downloaded to the local of a user.
It can be seen that the code generation method based on the Mybatis framework disclosed in the embodiment of the present application is applied to an object code generation tool, where the object code generation tool is a code generation tool issued in a war package form, and includes: acquiring database information determined by a user terminal through a web interactive interface; acquiring metadata information of a corresponding table by using the database information; and generating a corresponding target code by using the metadata information and the code template file. In this way, the corresponding code is generated by the code generation tool issued in the form of the war package, dependence on the IDE is avoided, and the metadata information and the code template file are used for generating the corresponding code, so that the code generation efficiency and the code universality are improved.
For example, referring to fig. 2, fig. 2 is a flowchart of a specific code generation method based on Mybatis framework disclosed in the embodiment of the present application.
Referring to fig. 3, an embodiment of the present application discloses a specific code generation method based on a Mybatis framework, which is applied to an object code generation tool, where the object code generation tool is a code generation tool issued in a war package form, and includes:
step S21: and acquiring the database information determined by the user terminal through a web interactive interface.
Step S22: and acquiring the metadata information of the corresponding table by using the database information.
Step S23: and saving the metadata information into a global object.
In a specific implementation mode, the read metadata information is stored in a global object, for example, a table name, a main key name, a type list, an attribute list, and the like, a user can self-define a code generation template according to the object names, generate a code required by the user according to a rule of the user, and also reflect the expansibility of code generation, and what the user only needs to do is to be familiar with the syntax of a velocity template rendering engine.
That is, the metadata of the database table is stored in the global object, the code generation template can be edited and customized by the user, and the user defines the code template required by the user to realize the generation of the customized code.
Step S24: and generating a corresponding target code by using the metadata information and the code template file.
Referring to fig. 4, an embodiment of the present application discloses a code generation apparatus based on a Mybatis framework, which is applied to an object code generation tool, where the object code generation tool is a code generation tool issued in a war package form, and includes:
the database information acquisition module 11 is used for acquiring the database information determined by the user terminal through a web interactive interface;
a metadata information obtaining module 12, configured to obtain metadata information of a corresponding table by using the database information;
and an object code generating module 13, configured to generate a corresponding object code by using the metadata information and the code template file.
Therefore, the code generation device based on the Mybatis framework, disclosed by the embodiment of the application, is applied to an object code generation tool, wherein the object code generation tool is a code generation tool issued in a war package form, and database information determined by a user terminal is acquired through a web interactive interface; acquiring metadata information of a corresponding table by using the database information; and generating a corresponding target code by using the metadata information and the code template file. In this way, the corresponding code is generated by the code generation tool issued in the form of the war package, dependence on the IDE is avoided, and the metadata information and the code template file are used for generating the corresponding code, so that the code generation efficiency and the code universality are improved.
The code generation apparatus further includes:
and the metadata information storage module is used for storing the metadata information into the global object.
The metadata information obtaining module 12 is specifically configured to establish a corresponding database connection through JDBC using the database information, and obtain the metadata information.
An object code generating module 13, specifically configured to generate a corresponding object code by using the metadata information and the code template file; the code template file is a template file predefined by using a freemarker or a velocity template tool, and the code template file comprises: a Mapper template file, a DAO interface template file, a service layer implementation type template file, an entity type template file and a Controller type template file.
The object code generating module 13 is specifically configured to call a template library corresponding to the freemarker or the velocity template tool; and generating a corresponding target code by using the metadata information and the code template file.
Further, the code generation device is further configured to store the target code in a temporary folder, and compress the temporary folder to obtain a corresponding tar.gz compressed packet; and downloading the tar.gz compressed packet to the user terminal.
Referring to fig. 5, an embodiment of the present application discloses an electronic device, which includes a processor 21 and a memory 22; wherein, the memory 22 is used for saving computer programs; the processor 21 is configured to execute the computer program to implement the code generation method disclosed in the foregoing embodiments.
For the specific process of the code generation method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Further, the present application also discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the code generation method disclosed in the foregoing embodiments.
For the specific process of the code generation method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The Mybatis framework-based code generation method, apparatus, device and medium provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and implementation manner of the present application, and the description of the above embodiment is only used to help understanding the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A code generation method based on a Mybatis framework is applied to an object code generation tool, wherein the object code generation tool is a code generation tool issued in a war package form, and comprises the following steps:
acquiring database information determined by a user terminal through a web interactive interface;
acquiring metadata information of a corresponding table by using the database information;
and generating a corresponding target code by using the metadata information and the code template file.
2. The code generation method according to claim 1, further comprising:
and saving the metadata information into a global object.
3. The code generation method according to claim 1, wherein the obtaining metadata information of the corresponding table using the database information includes:
and establishing corresponding database connection by JDBC by using the database information to acquire the metadata information.
4. The code generation method of claim 1, wherein generating the corresponding object code using the metadata information and a code template file comprises:
generating a corresponding target code by using the metadata information and the code template file; the code template file is a template file predefined by using a freemarker or a velocity template tool, and the code template file comprises: a Mapper template file, a DAO interface template file, a service layer implementation type template file, an entity type template file and a Controller type template file.
5. The code generation method of claim 4, wherein generating the corresponding object code using the metadata information and a code template file comprises:
calling a template library corresponding to the freemarker or velocity template tool;
and generating a corresponding target code by using the metadata information and the code template file.
6. The code generation method according to any one of claims 1 to 5, further comprising, after generating the corresponding object code using the metadata information and a code template file:
storing the target code into a temporary folder, and compressing the temporary folder to obtain a corresponding tar.gz compressed packet;
and downloading the tar.gz compressed packet to the user terminal.
7. A code generation device based on a Mybatis framework is applied to an object code generation tool, wherein the object code generation tool is a code generation tool issued in a war package form, and the device comprises:
the database information acquisition module is used for acquiring the database information determined by the user terminal through the web interactive interface;
the metadata information acquisition module is used for acquiring metadata information of a corresponding table by utilizing the database information;
and the object code generating module is used for generating a corresponding object code by using the metadata information and the code template file.
8. The code generation apparatus according to claim 7, further comprising:
and the metadata information storage module is used for storing the metadata information into the global object.
9. An electronic device comprising a processor and a memory; wherein the content of the first and second substances,
the memory is used for storing a computer program;
the processor for executing the computer program to implement the code generation method of any one of claims 1 to 6.
10. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the code generation method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010843480.3A CN111966340A (en) | 2020-08-20 | 2020-08-20 | Code generation method, device, equipment and medium based on Mybatis framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010843480.3A CN111966340A (en) | 2020-08-20 | 2020-08-20 | Code generation method, device, equipment and medium based on Mybatis framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111966340A true CN111966340A (en) | 2020-11-20 |
Family
ID=73388716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010843480.3A Withdrawn CN111966340A (en) | 2020-08-20 | 2020-08-20 | Code generation method, device, equipment and medium based on Mybatis framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111966340A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596706A (en) * | 2020-12-15 | 2021-04-02 | 用友网络科技股份有限公司 | Patterned code generation method, device and computer readable storage medium |
CN112631568A (en) * | 2020-12-30 | 2021-04-09 | 深圳康佳电子科技有限公司 | Code generation method and device, intelligent terminal and storage medium |
CN112925266A (en) * | 2021-02-02 | 2021-06-08 | 深圳市显控科技股份有限公司 | G code generation method, device, equipment and storage medium based on general HMI |
CN113111239A (en) * | 2021-04-08 | 2021-07-13 | 北京联创新天科技有限公司 | Universal database operation method, device and storage medium thereof |
CN113761005A (en) * | 2021-07-31 | 2021-12-07 | 浪潮电子信息产业股份有限公司 | Metadata configuration method and device, electronic equipment and storage medium |
CN117892032A (en) * | 2024-03-18 | 2024-04-16 | 威海市奥讯软件有限公司 | Method for rapidly publishing website file based on CMS system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160357526A1 (en) * | 2015-06-02 | 2016-12-08 | Sap Portals Israel Ltd | Declarative design-time experience platform for code generation |
CN110032369A (en) * | 2019-04-24 | 2019-07-19 | 成都市映潮科技股份有限公司 | A kind of code automatic generation method, device and medium |
CN110851129A (en) * | 2019-11-13 | 2020-02-28 | 深圳市泰洲科技有限公司 | Automatic generation method of software system code of data management class |
CN110955410A (en) * | 2019-10-23 | 2020-04-03 | 山东中创软件工程股份有限公司 | Automatic code generation method, device, equipment and medium |
CN111061475A (en) * | 2019-12-13 | 2020-04-24 | 中国南方电网有限责任公司 | Software code generation method and device, computer equipment and storage medium |
-
2020
- 2020-08-20 CN CN202010843480.3A patent/CN111966340A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160357526A1 (en) * | 2015-06-02 | 2016-12-08 | Sap Portals Israel Ltd | Declarative design-time experience platform for code generation |
CN110032369A (en) * | 2019-04-24 | 2019-07-19 | 成都市映潮科技股份有限公司 | A kind of code automatic generation method, device and medium |
CN110955410A (en) * | 2019-10-23 | 2020-04-03 | 山东中创软件工程股份有限公司 | Automatic code generation method, device, equipment and medium |
CN110851129A (en) * | 2019-11-13 | 2020-02-28 | 深圳市泰洲科技有限公司 | Automatic generation method of software system code of data management class |
CN111061475A (en) * | 2019-12-13 | 2020-04-24 | 中国南方电网有限责任公司 | Software code generation method and device, computer equipment and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596706A (en) * | 2020-12-15 | 2021-04-02 | 用友网络科技股份有限公司 | Patterned code generation method, device and computer readable storage medium |
CN112631568A (en) * | 2020-12-30 | 2021-04-09 | 深圳康佳电子科技有限公司 | Code generation method and device, intelligent terminal and storage medium |
CN112925266A (en) * | 2021-02-02 | 2021-06-08 | 深圳市显控科技股份有限公司 | G code generation method, device, equipment and storage medium based on general HMI |
CN113111239A (en) * | 2021-04-08 | 2021-07-13 | 北京联创新天科技有限公司 | Universal database operation method, device and storage medium thereof |
CN113111239B (en) * | 2021-04-08 | 2024-03-29 | 北京联创新天科技有限公司 | General database operation method, device and storage medium thereof |
CN113761005A (en) * | 2021-07-31 | 2021-12-07 | 浪潮电子信息产业股份有限公司 | Metadata configuration method and device, electronic equipment and storage medium |
CN117892032A (en) * | 2024-03-18 | 2024-04-16 | 威海市奥讯软件有限公司 | Method for rapidly publishing website file based on CMS system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111966340A (en) | Code generation method, device, equipment and medium based on Mybatis framework | |
CN109951315B (en) | Method and system for mapping YANG model to internal model | |
CN110147225B (en) | Code generation method and device, computer equipment and storage medium | |
CN112650766B (en) | Database data operation method, system and server | |
CN110674625A (en) | Code generation method and device, computer equipment and storage medium | |
US20070005642A1 (en) | Modification of logic in an application | |
CN110727438A (en) | Automatic web system generation tool based on SpringBoot | |
CN113515278A (en) | Low code model processing method, system, electronic device and storage medium | |
CN115809065A (en) | Low-code development platform, data storage method and electronic equipment | |
CN111443901A (en) | Business expansion method and device based on Java reflection | |
CN115993966A (en) | Application development system and method | |
CN114911497A (en) | SDK upgrading method and device and computer equipment | |
CN114020840A (en) | Data processing method, device, server, storage medium and product | |
CN114721711B (en) | Tool and method for reducing software research and development configuration based on GraphQL | |
CN115756433A (en) | Code platform migration method and device, electronic equipment and readable storage medium | |
CN112540813B (en) | Application generation method based on workflow engine | |
CN112632113B (en) | Operator management method and operator management system | |
KR100545348B1 (en) | An integrated development system for a SyncML server application development | |
CN111240679B (en) | Page development method and system | |
CN111625242A (en) | Item code deleting method and device, electronic equipment and storage medium | |
CN111737964A (en) | Form dynamic processing method, equipment and medium | |
CN112799638B (en) | Non-invasive rapid development method, platform, terminal and storage medium | |
CN117234512B (en) | Method, system, electronic equipment and storage medium for rapidly developing business | |
CN111831274B (en) | Metadata analysis engine configuration system, method, terminal and readable storage medium | |
KR20210041781A (en) | An integrated development system for a SyncML serverapplication development |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201120 |
|
WW01 | Invention patent application withdrawn after publication |