CN111078213B - Code generation method and code generation device - Google Patents
Code generation method and code generation device Download PDFInfo
- Publication number
- CN111078213B CN111078213B CN201811214554.6A CN201811214554A CN111078213B CN 111078213 B CN111078213 B CN 111078213B CN 201811214554 A CN201811214554 A CN 201811214554A CN 111078213 B CN111078213 B CN 111078213B
- Authority
- CN
- China
- Prior art keywords
- code
- template
- service
- codes
- database table
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000012545 processing Methods 0.000 claims abstract description 15
- 238000012795 verification Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 13
- 238000011161 development Methods 0.000 abstract description 26
- 230000008569 process Effects 0.000 abstract description 23
- 238000012423 maintenance Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
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/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a code generation method and a code generation device, wherein the code generation method comprises the following steps: acquiring a database table; generating codes of service applications based on a preset code template according to the database table; and processing the codes according to the requirements of the service application to obtain the service codes of the service application. According to the scheme, manual code writing can be reduced or even avoided in the development process of the service application code, so that the code development time is saved; furthermore, because the codes of the service application are generated based on the preset template, the writing style of the codes of the service application can be consistent, and the parameter naming, the format and the like are unified, so that the codes of the service are standardized, and convenience is brought to the later maintenance.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a code generating method and a code generating device.
Background
With the development of computer technology at present, in the development process of a Web server, a development mode based on SpringBoot is gradually developed, wherein SpringBoot can greatly simplify the process of integrating a third party framework when a project framework is built, but does not expand too much in the development process of common business application.
Because the development process of the common business application is not expanded too much at present, in the development process of the business code of the business application, a developer often needs to write all codes from a database table to an interface by himself, which includes creating the database table and manually writing codes from an Entity layer to an interface Controller layer, etc., however, the code structures are basically the same in the writing processes, and the waste of code development time is caused.
Disclosure of Invention
The embodiment of the invention provides a code generation method and a code generation device, which are used for solving the problem that the code development time is wasted due to manual code writing in the development process of the service code of the existing service application.
In a first aspect, an embodiment of the present invention provides a code generating method, including:
acquiring a database table;
generating codes of service applications based on a preset code template according to the database table;
and processing the codes according to the requirements of the service application to obtain the service codes of the service application.
In a second aspect, an embodiment of the present invention further provides a code generating apparatus, including:
the acquisition module is used for acquiring the database table;
the generation module is used for generating codes of service applications based on a preset code template according to the database table;
and the processing module is used for processing the codes according to the requirements of the service application to obtain the service codes of the service application.
In a third aspect, an embodiment of the present invention further provides a terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the computer program when executed by the processor implements the steps of the code generation method described above.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the code generation method described above.
In the embodiment of the invention, the code of the service application is generated based on the preset code template by acquiring the database table according to the database table, and the code is processed according to the requirement of the service application to obtain the service code of the service application, so that the manual writing of the code can be reduced or even avoided in the development process of the service application code, and the code development time is saved; furthermore, because the codes of the service application are generated based on the preset template, the writing style of the codes of the service application can be consistent, and the parameter naming, the format and the like are unified, so that the codes of the service are standardized, and convenience is brought to the later maintenance.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of a code generation method according to an embodiment of the present invention;
FIG. 2 is a diagram of code generated in an embodiment of the present invention;
FIG. 3 is a schematic diagram of a code generating apparatus according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a code generating device according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to facilitate understanding of the embodiments of the present invention, technical terms that may be related to the embodiments of the present invention will be explained first.
SpringBoot: representing an application development framework, springMVC, spring may be integrated, and web server (may be referred to simply as the web) development and integration of third party tools may be facilitated during use.
Controller: in the Web development process, the interface layer specified by SpringMVC.
Service: abstract business layer in MVC development model.
Servicel: an implementation class of an abstract business layer in the MVC development model.
Mapper: data persistence layer in MVC development model.
Entity: entity layer in MVC development model.
FormVo: in the web framework, the interface layer is dedicated to the form classes that are received, added, and modified.
Searchvo: in the web framework, objects dedicated to receiving paging queries.
Referring to fig. 1 and 2, an embodiment of the present invention provides a code generation method, which includes the following steps:
step 101: a database table is obtained.
Wherein the database table is created manually by a user.
Step 102: and generating codes of service applications based on a preset code template according to the database table.
The code can be understood as a template code generated according to the content of the database table, and the generated template code can be used if no special requirement exists on service functions. The above business applications may be understood as web applications, each business application may correspond to a business function, and the business function may be a direct, for example.
Step 103: and processing the codes according to the requirements of the service application to obtain the service codes of the service application.
In the embodiment of the invention, the code of the service application is generated based on the preset code template by acquiring the database table according to the database table, and the code is processed according to the requirement of the service application to obtain the service code of the service application, so that the manual writing of the code can be reduced or even avoided in the development process of the service application code, and the code development time is saved; furthermore, because the codes of the service application are generated based on the preset template, the writing style of the codes of the service application can be consistent, and the parameter naming, the format and the like are unified, so that the codes of the service are standardized, and convenience is brought to the later maintenance.
In a specific embodiment of the present invention, optionally, the process of generating the code of the service application may be:
generating an Entity class object based on a preset Entity template according to the database table;
and generating codes of the business application based on a preset mode layer code template according to the Entity class object.
Wherein the Entity class object may correspond to a field in a database table. The preset pattern layer code template may include at least one of the following as shown in fig. 2:
the template is selected from the group consisting of a Mapper template, a Service template, a servicetemplate, a Controller template, a FormVo template, and a SearchVo template.
And the codes of the business application generated based on the preset mode layer code template may include, but are not limited to, a Mapper code, a Service code, a servicel code, a Controller code, a FormVo code and a SearchVo code, as shown in fig. 2.
Therefore, codes of business applications are generated based on the preset code templates, and codes with the same structure can be not required to be written manually, so that the code development time is saved.
Further, the Service code generated based on the Service template may inherit the parent class BaseService. Specifically, the BaseService may define a query list, query page data, query single data, modify single data, delete single data, etc., that is, the BaseService may encapsulate for a common add-drop-modify operation, where the encapsulation content may include all data that is queried to meet the Model condition, page data that is queried to meet the search condition, query single data that is queried to meet the Model condition, modify data, delete data, etc.
For example, when paging data is queried, if the field type is the basic data type, "=" may be used as a query condition, that is, an exact query; if the field type is String, like '% $ { value }%' can be used as the query condition, i.e., fuzzy query; if the String field has @ PreciseQuery annotation, the "=" can still be used as query condition; if the query field does not belong to a field in the database table, the query of this condition may be implemented using the @ NotTableColumn notation and the extendCriteria (..) method is rewritten in the actual Service.
Furthermore, a Spring-based custom annotation verification framework, namely Spring-based custom verification annotations, can be introduced into the FormVo code generated based on the FormVo template, the annotations limit the type and the content of http request data, and error reporting information is defined in the annotations when errors occur.
Further, the annotation verification process of Spring can be activated in the Controller code generated based on the Controller template. Specifically, the Controller layer is used as an interface layer of the web application, and can use the FormVo as a receiving object when receiving the adding and modifying request. A Spring custom annotation verification framework, such as the @ valid annotation verification framework shown in FIG. 2, can be introduced into the FormVo code, and verification annotations are expanded on the basis of the Spring custom annotation verification framework to support verification of special parameters. In practice, substantially all data format verification can be verified through custom annotations. If the annotation verification fails, the annotation verification can be captured through the Global controller, and the reason of the verification failure is returned to the front end for the user to check.
Therefore, the Service codes are generated based on the form vo template and the Service template, so that the code content in the background Web Service development process can be greatly reduced, and the method has the advantages of simplicity, clarity, easiness in later maintenance and the like; the creation and modification data in the Controller layer are received by using a FormVo object, so that verification annotation of Spring can be used for data format verification, and verification annotation of Spring is expanded, and common java codes can be supported for verifying interface fields; the paging query interface is received by using Searchvo, and can transmit paging information, creation date range, in-table query fields, custom query fields and the like.
It can be understood that in practical application, if there is no actual Service requirement, the template code generated based on the preset code template is the required code, and if there is an actual Service requirement, the generated code can be processed according to the actual Service requirement, for example, fields in the FormVo code and fields in the SearchVo code are added and deleted, and/or a java method in the serviceoil code and a java method in the Service code are changed.
Optionally, the step 103 may include:
annotating non-database table fields when the SearchVo code of the code has the non-database table fields;
and/or
When a String type field in the Searchvo code of the code needs to be queried accurately, annotating the String type field.
For example, as shown in fig. 2, if the SearchVo code has a non-database table field, a @ NotTableColumn may be added to perform a custom condition search annotation; if the String type field in the Searchvo code needs to be queried accurately, the custom condition search annotation can be performed by using @ PreciseQuery; if the Searchvo code has a special field to be checked and no proper check annotation exists, the custom check annotation can be performed by using the @ CommonValid annotation framework.
In addition, as shown in fig. 2, the SearchVo code generated based on the SearchVo template inherits a BasePage, and the BasePage includes paging data, ordering conditions, and the like; the serviceoil code generated based on the serviceoil template also inherits baseserviceoil.
Note that the arrows shown in fig. 2 represent class relationships between connected objects, such as inheritance, dependency, implementation, and the like.
In the embodiment of the invention, the service codes obtained by the processing can be executed when the service system runs, and the springboot is needed to participate. Specifically, the Controller is used as an interface layer and is responsible for receiving data transmitted by the front end, and the Controller code provides interfaces such as paging condition inquiry, addition, modification, detail, deletion and the like by default. It is usually necessary to check the data format by adding and modifying the interface, so that the SpringBoot check framework @ Validated is used on the formVo parameter of the added and modified interface, after @ Validated is added, the controller can automatically use the check annotation in the formVo to check the data format when receiving the data, and throw out the abnormal information to be captured by the GlobalController when the data is checked for errors. In GlobalController, the exception information is encapsulated into a return object for transmission to the front end, which prompts the user for the exception information. When the data check is successful, the controller may call a service corresponding method such as add, modify, query, delete, etc. When paging condition query is used, the condition query in BaseService is actually called by default, how to assemble the query condition is already packaged in BaseService, paging information and ordering information in Searchvo are called, fields annotated by @ NotTableCompumn and @ PreciseQuery are distinguished, and then different paging condition queries are completed by utilizing a universal mapper. In order to optimize the processing speed of distinguishing the @ NotTableCompositeQuery annotation field, the java reflection is prevented from being frequently called to judge whether the annotation field is owned, when the springboot is started, all the searchVos can be scanned, and the annotated fields of the two annotation fields are cached, so that whether the @ NotTableCompositum field and/or the @ PreciseQuery field are owned can be rapidly distinguished when paging inquiry is called.
The above-described embodiment explains the code generation method of the present invention, and the code generation apparatus of the present invention will be explained with reference to the embodiment and the drawings.
Referring to fig. 3, an embodiment of the present invention provides a code generating apparatus, including:
an acquisition module 31 for acquiring a database table;
a generating module 32, configured to generate, according to the database table, a code of a service application based on a preset code template;
and the processing module 33 is configured to process the code according to the requirement of the service application, so as to obtain a service code of the service application.
In the embodiment of the invention, manual code writing can be reduced or even avoided in the development process of the service application code, so that the code development time is saved; furthermore, because the codes of the service application are generated based on the preset template, the writing style of the codes of the service application can be consistent, and the parameter naming, the format and the like are unified, so that the codes of the service are standardized, and convenience is brought to the later maintenance.
In an embodiment of the present invention, optionally, the generating module 32 includes:
the first generation unit is used for generating an Entity object based on a preset Entity template according to the database table;
and the second generating unit is used for generating codes of the business application based on a preset mode layer code template according to the Entity type object.
Optionally, the preset mode layer code template includes at least one of the following:
the template is selected from the group consisting of a Mapper template, a Service template, a servicetemplate, a Controller template, a FormVo template, and a SearchVo template.
Optionally, the Service code generated based on the Service template inherits the parent class BaseService.
Optionally, a Spring custom verification annotation is introduced into the FormVo code generated based on the FormVo template, the annotation limits the type and the content of the http request data, and error information is defined in the annotation when errors occur.
Optionally, a Spring annotation verification process is activated in a Controller code generated based on the Controller template.
Optionally, the processing module 33 is specifically configured to:
annotating non-database table fields when the SearchVo code of the code has the non-database table fields;
and/or
When a String type field in the Searchvo code of the code needs to be queried accurately, annotating the String type field.
In addition, the embodiment of the invention also provides a code generating device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the computer program can realize each process of the code generating method embodiment when being executed by the processor, and can achieve the same technical effect, and the repetition is avoided, and the description is omitted here.
Specifically, referring to fig. 4, the embodiment of the present invention further provides a code generating device, which includes a bus 41, a transceiver 42, an antenna 43, a bus interface 44, a processor 45, and a memory 46.
In an embodiment of the present invention, the code generating device further includes: a computer program stored on the memory 46 and executable on the processor 45. Specifically, the computer program may implement each process of the above-mentioned code generation method embodiment when executed by the processor 45, and in order to avoid repetition, a description is omitted here.
In fig. 4, a bus architecture (represented by bus 41), the bus 41 may comprise any number of interconnected buses and bridges, with the bus 41 linking together various circuits, including one or more processors, represented by processor 45, and memory, represented by memory 46. The bus 41 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. Bus interface 44 provides an interface between bus 41 and transceiver 42. The transceiver 42 may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 45 is transmitted over a wireless medium via the antenna 43, and further, the antenna 43 receives data and transmits the data to the processor 45.
The processor 45 is responsible for managing the bus 41 and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 46 may be used to store data used by processor 45 in performing operations.
Alternatively, the processor 45 may be CPU, ASIC, FPGA or a CPLD.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the code generation method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Computer-readable media include both permanent and non-permanent, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (8)
1. A code generation method, comprising:
acquiring a database table;
generating codes of service applications based on a preset code template according to the database table; the business application comprises a web application;
processing the codes according to the requirements of the service application to obtain service codes of the service application;
the processing the codes according to the requirements of the service application to obtain the service codes of the service application comprises the following steps:
annotating non-database table fields when the SearchVo code of the code has the non-database table fields;
and/or
Annotating a String type field in the Searchvo code of the code when the String type field needs to be queried accurately;
the generating a code of the business application based on a preset code template according to the database table comprises the following steps:
generating an Entity class object based on a preset Entity template according to the database table;
and generating codes of the business application based on a preset mode layer code template according to the Entity class object.
2. The method of claim 1, wherein the pre-set pattern layer code template comprises at least one of:
the template is selected from the group consisting of a Mapper template, a Service template, a servicetemplate, a Controller template, a FormVo template, and a SearchVo template.
3. The method of claim 2, wherein a parent class BaseService is inherited in Service code generated based on the Service template.
4. The method according to claim 2, wherein a Spring custom check annotation is introduced into a FormVo code generated based on the FormVo template, the annotation limits the type and content of http request data, and error reporting information is defined in the annotation when errors occur.
5. A method according to claim 3, characterized in that the annotation verification procedure of Spring is activated in the Controller code generated based on the Controller template.
6. A code generating apparatus, comprising:
the acquisition module is used for acquiring the database table;
the generation module is used for generating codes of service applications based on a preset code template according to the database table; the business application comprises a web application;
the processing module is used for processing the codes according to the requirements of the service application to obtain service codes of the service application;
the processing module is specifically configured to:
annotating non-database table fields when the SearchVo code of the code has the non-database table fields;
and/or
Annotating a String type field in the Searchvo code of the code when the String type field needs to be queried accurately;
the generation module comprises:
the first generation unit is used for generating an Entity object based on a preset Entity template according to the database table;
and the second generating unit is used for generating codes of the business application based on a preset mode layer code template according to the Entity type object.
7. A code generating apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the computer program when executed by the processor implements the steps of the code generating method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the code generation method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811214554.6A CN111078213B (en) | 2018-10-18 | 2018-10-18 | Code generation method and code generation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811214554.6A CN111078213B (en) | 2018-10-18 | 2018-10-18 | Code generation method and code generation device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111078213A CN111078213A (en) | 2020-04-28 |
CN111078213B true CN111078213B (en) | 2024-01-19 |
Family
ID=70308630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811214554.6A Active CN111078213B (en) | 2018-10-18 | 2018-10-18 | Code generation method and code generation device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078213B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111580794A (en) * | 2020-05-06 | 2020-08-25 | 山东浪潮通软信息科技有限公司 | Method and device for creating business document in business management system |
CN112130849B (en) * | 2020-09-27 | 2023-08-22 | 建信金融科技有限责任公司 | Code automatic generation method and device |
CN117149166B (en) * | 2023-10-30 | 2023-12-29 | 江苏德高物联技术有限公司 | Method and device for generating data docking code of electromagnetic water meter |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968307A (en) * | 2012-11-29 | 2013-03-13 | 中国传媒大学 | Java-based web development middleware |
CN103020064A (en) * | 2011-09-20 | 2013-04-03 | 佳都新太科技股份有限公司 | Method and configuration for generating query condition in annotation way |
CN104424338A (en) * | 2013-09-11 | 2015-03-18 | 北大方正集团有限公司 | Automatic generation device and automatic generation method for web system |
CN105677323A (en) * | 2015-12-31 | 2016-06-15 | 合肥大多数信息科技有限公司 | Method for automatically generating database operation layer codes |
CN106648690A (en) * | 2016-12-29 | 2017-05-10 | 北京恒华伟业科技股份有限公司 | Code automatic generation method and apparatus |
CN107391153A (en) * | 2017-07-31 | 2017-11-24 | 深圳乐信软件技术有限公司 | A kind of code generating method and device based on Spring Yu MyBatis framework integrations |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7917890B2 (en) * | 2006-08-31 | 2011-03-29 | Jon Barcellona | Enterprise-scale application development framework utilizing code generation |
US8656349B2 (en) * | 2008-03-07 | 2014-02-18 | Sap Ag | Systems and methods for template reverse engineering |
CN106874388B (en) * | 2017-01-11 | 2020-08-11 | 中科院微电子研究所昆山分所 | Relational database-based heterogeneous system data cascade operation automatic construction method |
CN107479883A (en) * | 2017-08-07 | 2017-12-15 | 海闻科技有限公司 | A kind of code generating method and code generator |
-
2018
- 2018-10-18 CN CN201811214554.6A patent/CN111078213B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020064A (en) * | 2011-09-20 | 2013-04-03 | 佳都新太科技股份有限公司 | Method and configuration for generating query condition in annotation way |
CN102968307A (en) * | 2012-11-29 | 2013-03-13 | 中国传媒大学 | Java-based web development middleware |
CN104424338A (en) * | 2013-09-11 | 2015-03-18 | 北大方正集团有限公司 | Automatic generation device and automatic generation method for web system |
CN105677323A (en) * | 2015-12-31 | 2016-06-15 | 合肥大多数信息科技有限公司 | Method for automatically generating database operation layer codes |
CN106648690A (en) * | 2016-12-29 | 2017-05-10 | 北京恒华伟业科技股份有限公司 | Code automatic generation method and apparatus |
CN107391153A (en) * | 2017-07-31 | 2017-11-24 | 深圳乐信软件技术有限公司 | A kind of code generating method and device based on Spring Yu MyBatis framework integrations |
Non-Patent Citations (2)
Title |
---|
Desgin and Implementation of a data-oriented business process management system;Yue Liu等;《2015 4th International Conference on Computer Science and Network Technology (ICCSNT));441-446 * |
自动代码生成技术的发展现状与趋势;王博等;《西安邮电大学学报》;第23卷(第2018年03期);1-12 * |
Also Published As
Publication number | Publication date |
---|---|
CN111078213A (en) | 2020-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180129685A1 (en) | Omega names: name generation and derivation | |
CA2713247C (en) | Integration environment generator | |
CN106649788B (en) | Database data transmission method and device | |
CN111078213B (en) | Code generation method and code generation device | |
US8196100B2 (en) | Content management system for computer software with dynamic traceability between code and design documents | |
US20080183753A1 (en) | Distributed Device Information Management System As A Distributed Information Repository System | |
US9483508B1 (en) | Omega names: name generation and derivation | |
CN107294750B (en) | Cloud cluster energy self-identification distributed configuration management method and device | |
CN113220633B (en) | Unified file coding management method and system | |
CN111506579A (en) | Method, program and equipment for generating intelligent contract code | |
CN113778445A (en) | Cross-platform component generation method and device, electronic equipment and storage medium | |
CN110046170A (en) | Sentence based on multifile management executes method, apparatus, equipment and medium | |
CN112579682B (en) | Method and device for notifying change of data model, electronic equipment and storage medium | |
CN112148299A (en) | Byte code object copying method, device, equipment and storage medium | |
CN114625611B (en) | Quantum computing environment monitoring method, device and storage medium | |
CN108228604B (en) | Model construction method based on memory object, information query method and device | |
CN114115982A (en) | Code issuing method, device, equipment and storage medium | |
CN114780525A (en) | Data governance platform for full life cycle of education field | |
CN110968888B (en) | Data processing method and device | |
CN112965706B (en) | Description method, device and medium of data types | |
CN112732240B (en) | Java component generation method and device | |
CN112582014B (en) | Solid state disk batch production method, device, equipment and medium | |
CN118567742A (en) | Processing method and equipment for vehicle offline configuration, vehicle and storage medium | |
CN116795355A (en) | Code modification method, device, equipment and readable storage medium | |
CN116827789A (en) | Automatic generation method, equipment and storage medium of Nginx configuration file |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |