CN110502242B - Code automatic generation method and device, computer equipment and storage medium - Google Patents

Code automatic generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110502242B
CN110502242B CN201910790626.XA CN201910790626A CN110502242B CN 110502242 B CN110502242 B CN 110502242B CN 201910790626 A CN201910790626 A CN 201910790626A CN 110502242 B CN110502242 B CN 110502242B
Authority
CN
China
Prior art keywords
module
service
code
file
layer
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
Application number
CN201910790626.XA
Other languages
Chinese (zh)
Other versions
CN110502242A (en
Inventor
李柏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority to CN201910790626.XA priority Critical patent/CN110502242B/en
Publication of CN110502242A publication Critical patent/CN110502242A/en
Application granted granted Critical
Publication of CN110502242B publication Critical patent/CN110502242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/447Target code generation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to a code automatic generation method, a code automatic generation device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring a code automatic generation request; generating system codes, configuration files, dependency package management files, system module version management files and system startup files corresponding to the modules respectively through a service module, a web module, a service-api module and a system management module according to the code automatic generation request; the actual service logic is realized through the code generated by the service module; providing an HTTP interface for the front end through a code generated by the web module, and calling a service function of the service module through the service-api; and providing a dubbo interface through the code generated by the service-api module. The invention can generate system codes according to the actual requirements and system starting files according to the requirements, and can start the corresponding modules as long as the system starting files are executed.

Description

Code automatic generation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for automatically generating a code, a computer device, and a storage medium.
Background
Currently, with the development of computer technology, code generation tools are widely used for the first month. The existing automatic generation tool for system codes of open source communities generally generates entity classes and codes of corresponding presentation layers, business logic layers and data layers according to field names, types and lengths, whether the fields are primary keys, comments and other information by inquiring a designed table structure in a database, and the codes realize basic functions of inquiry, addition, deletion and modification. The technician can quickly generate the core code of the system through the automatic code generation tool.
In the conventional technology, although the existing automatic code generation tool provides an automatic code generation function, only the core code, the configuration file required by the system, the management file depending on the package, and the unified management file for the system module version can be generated, including that if the system code needs to be generated according to the module, the system code cannot be automatically generated, and the system cannot be started after the code is generated.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a code automatic generation method, apparatus, computer device, and storage medium that can support generation of codes per module and can also generate configuration files, package-dependent management files, and system module version unified management files.
A method of automatic code generation, the method comprising:
acquiring a code automatic generation request;
generating system codes, configuration files, dependency package management files, system module version management files and system startup files corresponding to the modules respectively through a service module, a web module, a service-api module and a system management module according to the code automatic generation request;
the actual business logic is realized through the code generated by the service module;
providing an HTTP interface for a front end through a code generated by the web module, and calling a service function of the service module through a service-api;
providing a dubbo interface through a code generated by the service-api module;
and generating a corresponding system module version unified management file through the system management module.
In one embodiment, the step of generating the system code, the configuration file, the dependency package management file, the system module version management file, and the system startup file corresponding to the module respectively through the service module, the web module, the service-api module, and the system management module according to the code automatic generation request further includes:
defining a file template required in the module through a Velocity template engine technology;
and generating a corresponding file according to the file template.
In one embodiment, the step of generating the corresponding file according to the file template further includes:
defining a generation path of a file;
setting variable values in the file template;
and setting and generating a corresponding file.
In one embodiment, the code generated by the service module comprises codes of an interface layer, a service logic layer, a data access layer and a unit test layer; the codes generated by the web module comprise codes of a presentation layer, a service logic layer, an interface layer and a unit test layer; the code generated by the service-api module comprises codes of an interface definition layer, an entity class layer, a data transmission object layer and a unit test layer.
An automatic code generation apparatus, comprising:
the acquisition module is used for acquiring a code automatic generation request;
the code generation module is used for generating system codes, configuration files, dependency package management files, system module version management files and system startup files corresponding to the modules respectively through the service module, the web module, the service-api module and the system management module according to the code automatic generation request;
the service module is used for realizing actual service logic through the code generated by the service module;
the web module is used for providing an HTTP interface for the front end through the code generated by the web module and calling the service function of the service module through the service-api;
the service-api module is used for providing a dubbo interface through the code generated by the service-api module;
the system management module is used for generating a corresponding system module version unified management file through the system management module.
In one embodiment, the code generation module is further configured to:
defining a file template required in the module through a Velocity template engine technology;
and generating a corresponding file according to the file template.
In one embodiment, the code generation module is further configured to:
defining a generation path of a file;
setting variable values in the file template;
and setting to generate a corresponding file.
In one embodiment, the code generated by the service module comprises codes of an interface layer, a service logic layer, a data access layer and a unit test layer; the codes generated by the web module comprise codes of a presentation layer, a service logic layer, an interface layer and a unit test layer; the code generated by the service-api module comprises codes of an interface definition layer, an entity class layer, a data transmission object layer and a unit test layer.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the above methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the above-mentioned methods.
The code automatic generation method, the code automatic generation device, the computer equipment and the storage medium automatically generate a request by acquiring the code; according to the code automatic generation request, generating a system code, a configuration file, a dependency package management file, a system module version management file and a system starting file corresponding to the module through a service module, a web module, a service-api module and a system management module respectively; the actual business logic is realized through the code generated by the service module; providing an HTTP interface for a front end through a code generated by the web module, and calling a service function of the service module through a service-api; providing a dubbo interface through a code generated by the service-api module; and generating a corresponding system module version unified management file through the system management module. The invention can generate system codes according to the actual needs according to the modules, and generate configuration files required by the modules according to the needs, and can start the corresponding modules as long as the system start files are executed.
Drawings
FIG. 1 is a schematic diagram of a code automatic generation tool generating code in the prior art;
FIG. 2 is a flowchart illustrating a method for automatically generating a code according to an embodiment;
FIG. 3 is a flowchart illustrating a method for automatically generating a code according to another embodiment;
FIG. 4 is a flowchart illustrating a method for automatically generating a code according to still another embodiment;
FIG. 5 is a block diagram that illustrates the architecture of the code generated by each module in the automatic code generation method in one embodiment;
FIG. 6 is a block diagram showing the construction of an automatic code generation apparatus according to an embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The existing automatic code generation tool can only generate a single item code, the code comprises a (controller) expression layer, a (service) business logic layer and a (mapper) data access layer, and particularly, the code structure is as shown in FIG. 1. The existing method can not generate system codes according to the system requirements, including that the codes can not be generated according to modules, configuration files, dependency package management files, system module version unified management files and system startup files of templates can not be generated, and the system can not be started after the codes are generated.
Based on the above, the invention provides an automatic code generation method, which aims to solve the defects of the existing automatic code generation tool.
In one embodiment, as shown in fig. 2, there is provided an automatic code generation method, including:
step 202, acquiring a code automatic generation request;
step 204, according to the code automatic generation request, respectively generating a system code, a configuration file, a dependency package management file, a system module version management file and a system starting file corresponding to the module through a service module, a web module, a service-api module and a system management module;
step 206, the actual service logic is realized through the code generated by the service module;
step 208, providing an HTTP interface for the front end through the code generated by the web module, and calling the service function of the service module through the service-api;
step 210, providing a dubbo interface through a code generated by the service-api module;
step 212, generating a corresponding system module version unified management file through the system management module.
Specifically, in conjunction with the code architecture block diagram shown in fig. 5, in the present embodiment, first, a code automatic generation request is acquired. And then, according to the code automatic generation request, respectively generating a system code, a configuration file, a dependency package management file, a system module version management file and a system starting file corresponding to the module through the service module, the web module, the service-api module and the system management module.
In one embodiment, the code generated by the service module comprises codes of an interface layer, a service logic layer, a data access layer and a unit test layer; the codes generated by the web module comprise codes of a presentation layer, a service logic layer, an interface layer and a unit test layer; the code generated by the service-api module comprises codes of an interface definition layer, an entity class layer, a data transmission object layer and a unit test layer.
Specifically, the service module: and (4) actual business logic implementation modules. The system comprises a code comprising a provider layer, a service layer, a mapper layer and a test layer, as well as configuration files of application, application-dev.
A web module: and providing an HTTP interface for the front end, and calling the service function of the service module through the service-api. Comprises a controller layer, a service layer,
Figure BDA0002179438720000051
Code for layers and test layers, and arrangementsProperties, application-dev.
A service-api module: a dubbo interface is provided. The system comprises a service layer, a model layer, a dto layer and a test layer, and also comprises a dependent package management file api-pom.
The system module unifies version management files: project-pom. Xml file.
In the above embodiment, the request is automatically generated by obtaining the code; generating system codes, configuration files, dependency package management files, system module version management files and system startup files corresponding to the modules respectively through a service module, a web module, a service-api module and a system management module according to the code automatic generation request; the actual service logic is realized through the code generated by the service module; providing an HTTP interface for the front end through a code generated by the web module, and calling a service function of the service module through the service-api; providing a dubbo interface through a code generated by a service-api module; and generating a corresponding system module version unified management file through a system management module. The system code can be generated according to the actual requirement according to the modules, the configuration files required by the modules can be generated according to the requirement, the package-dependent management file, the system module version management file and the system starting file are relied on, and the corresponding modules can be started as long as the system starting file is executed.
In one embodiment, as shown in fig. 3, an automatic code generation method is provided, in which the step of generating a system code, a configuration file, a dependency package management file, a system module version management file, and a system startup file corresponding to a module through a service module, a web module, a service-api module, and a system management module according to an automatic code generation request further includes:
step 302, defining a file template required in the module through a Velocity template engine technology;
and step 304, generating a corresponding file according to the file template.
Specifically, the following template file is created in the service module, and then a corresponding file is generated according to the template.
application properties vm (generation application properties)
application-dev
mapper. Java. Vm (mapper. Java of mapper layer)
mapper. Xml. Vm (mapper. Xml of mapper layer)
Xml.vm (logback-spring. Xml.generated)
service-pom.xml.vm (generate dependent package management file service-pom.xml)
providerimpl. Java. Vm (code file for generating provider layer)
service.java.vm (service.java to generate service layer)
serviceImpl. Java. Vm (serviceImpl. Java, which generates service layer)
serviceApp.java.vm (generating startup file serviceapplication.java)
test.java.vm (code file for generating test layer)
Similarly, the following template files are created in the web module, and then corresponding files are generated according to the templates.
application properties vm (application properties)
application-dev
logback-spring.xml.vm (generate logback-spring.xml. Log configuration file)
service.java.vm (service.java file of generating service layer)
Xml.vm (generate dependency package management file web-pom.xml)
controller. Java. Vm (controller. Java file that generates controller layer)
webapp. Java. Vm (generating startup file webapp. Java file)
famide. Java. Vm (famide. Java file generating famide layer)
test.java.vm (code file for generating test layer)
Similarly, the following template file is created in the service-api module, and then a corresponding file is generated according to the template.
provider, java, vm (code file for generating provider layer)
model, java, vm (generating code file of model layer)
dto.java.vm (code file for generating dto layer)
api-pom.xml.vm (generate dependency package management file api-pom.xml)
test.java.vm (code file for generating test layer)
Similarly, the following template files are created in the system management module, and then corresponding files are generated according to the templates.
project-pom. Xml. Vm (generate project-pom. Xml file).
In an embodiment, as shown in fig. 4, there is provided an automatic code generation method, in which the step of generating a corresponding file according to the file template further includes:
step 402, defining a generation path of a file;
step 404, setting a variable value in the file template;
step 406, generating a corresponding file.
Specifically, a corresponding file is generated from a template, and the generation of a property file is described as an example.
Application properties vm file part code is as follows:
spring.application.name=${service_module_artifactId}
server.port=8090
spring.profiles.active=dev
mybatis-plus.mapper-locations=classpath:/mappers/**/*Mapper.xml
mybatis-plus.type–aliases-package=${api_module_root_package}.model.$tableName
mybatis-plus.type–enums-package=com.test.pet.base.enums
logging.level.root=debug
log.path=logs
2. the core code for generating the actual file from the module file is as follows:
defining a generation path of a file:
private final static String code output path=“E:\\”
setting variable values in the template:
Template t=ve.getTemplate(generateFileName+".vm",);
VelocityContext ctx=new VelocityContext();
ctx.put("service_module_artifactId″,"test-xx");
ctx.put(″api_module_root_package″,"com.test.pet″);}
ctx.put("tableName","User”,)
setting the generated file:
generate("application.properties″)
3. the generation logic of the other files is as described in 1 and 2.
It is understood that the templates are generated synchronously without any sequence. In addition, a path of system code output may be defined by a configuration parameter code _ output _ path. In addition, the service module can be started by running a service application. Java file run web module.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, there is provided an automatic code generation apparatus 600, including:
an obtaining module 601, configured to obtain a code automatic generation request;
a code generation module 602, configured to generate a system code, a configuration file, a dependency package management file, a system module version management file, and a system startup file corresponding to the module through the service module 603, the web module 604, the service-api module 605, and the system management module 606, respectively, according to the code automatic generation request;
a service module 603, configured to implement an actual service logic through a code generated by the service module 603;
the web module 604 is configured to provide an HTTP interface for the front end through the code generated by the web module 604, and call a service function of the service module 603 through the service-api;
a service-api module 605, configured to provide a dubbo interface through a code generated by the service-api module 605;
the system management module 606 is configured to generate a corresponding system module version unified management file through the system management module 606.
In one embodiment, the code generation module 602 is further configured to:
defining a file template required in the module through a Velocity template engine technology;
and generating a corresponding file according to the file template.
In one embodiment, the code generation module 602 is further configured to:
defining a generation path of a file;
setting variable values in the file template;
and setting and generating a corresponding file.
In one embodiment, the code generated by the service module 603 includes codes of an interface layer, a service logic layer, a data access layer, and a unit test layer; the codes generated by the web module 604 comprise codes of a presentation layer, a service logic layer, an interface layer and a unit test layer; the code generated by the service-api module 605 includes the code of an interface definition layer, an entity class layer, a data transmission object layer, and a unit test layer.
For specific limitations of the code automatic generation apparatus, reference may be made to the above limitations of the code automatic generation method, which are not described herein again.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of automatic generation of code.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method embodiments when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above respective method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1.A method of automatic code generation, the method comprising:
acquiring a code automatic generation request;
according to the code automatic generation request, generating a system code, a configuration file, a dependency package management file, a system module version management file and a system starting file corresponding to the module through a service module, a web module, a service-api module and a system management module respectively;
the actual service logic is realized through the code generated by the service module;
providing an HTTP interface for a front end through a code generated by the web module, and calling a service function of the service module through a service-api;
providing a dubbo interface through a code generated by the service-api module;
and generating a corresponding system module version management file through the system management module.
2. The method according to claim 1, wherein the step of generating the system code, the configuration file, the dependency package management file, the system module version management file, and the system startup file corresponding to the module through the service module, the web module, the service-api module, and the system management module according to the code automatic generation request further comprises:
defining a file template required in the module through a Velocity template engine technology;
and generating a corresponding file according to the file template.
3. The method for automatically generating code according to claim 2, wherein the step of generating the corresponding file according to the file template further comprises:
defining a generation path of a file;
setting variable values in the file template;
and setting to generate a corresponding file.
4. The automatic code generation method according to any one of claims 1 to 3, characterized in that the code generated by the service module comprises codes of an interface layer, a business logic layer, a data access layer and a unit test layer; the codes generated by the web module comprise codes of a presentation layer, a service logic layer, an interface layer and a unit test layer; the code generated by the service-api module comprises codes of an interface definition layer, an entity class layer, a data transmission object layer and a unit test layer.
5. An automatic code generation apparatus, comprising:
the acquisition module is used for acquiring a code automatic generation request;
the code generation module is used for generating system codes, configuration files, dependency package management files, system module version management files and system startup files corresponding to the modules respectively through the service module, the web module, the service-api module and the system management module according to the code automatic generation request;
the service module is used for realizing actual service logic through the code generated by the service module;
the web module is used for providing an HTTP interface for the front end through the code generated by the web module and calling the service function of the service module through the service-api;
the service-api module is used for providing a dubbo interface through a code generated by the service-api module;
the system management module is used for generating a corresponding system module version management file through the system management module.
6. The apparatus of claim 5, wherein the code generation module is further configured to:
defining a file template required in the module through a Velocity template engine technology;
and generating a corresponding file according to the file template.
7. The automatic code generation apparatus of claim 6, wherein the code generation module is further configured to:
defining a generation path of a file;
setting variable values in the file template;
and setting and generating a corresponding file.
8. The automatic code generation device according to any one of claims 5 to 7, wherein the code generated by the service module includes codes of an interface layer, a business logic layer, a data access layer and a unit test layer; the codes generated by the web module comprise codes of a presentation layer, a service logic layer, an interface layer and a unit test layer; the code generated by the service-api module comprises codes of an interface definition layer, an entity class layer, a data transmission object layer and a unit test layer.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 4 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201910790626.XA 2019-08-26 2019-08-26 Code automatic generation method and device, computer equipment and storage medium Active CN110502242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910790626.XA CN110502242B (en) 2019-08-26 2019-08-26 Code automatic generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910790626.XA CN110502242B (en) 2019-08-26 2019-08-26 Code automatic generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110502242A CN110502242A (en) 2019-11-26
CN110502242B true CN110502242B (en) 2022-12-20

Family

ID=68589487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910790626.XA Active CN110502242B (en) 2019-08-26 2019-08-26 Code automatic generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110502242B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324343B (en) * 2020-02-20 2022-03-25 蚂蚁财富(上海)金融信息服务有限公司 Code generation method and device
CN111666072A (en) * 2020-06-09 2020-09-15 南京及物智能技术有限公司 Software code and document robot method
CN113138757B (en) * 2021-05-11 2024-03-29 中国工商银行股份有限公司 Front-end code automatic generation method, device, server, system and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695091A (en) * 2009-10-28 2010-04-14 中兴通讯股份有限公司 Device and method for automatically matching pictures of terminal switching machine
CN103500087A (en) * 2013-09-17 2014-01-08 福建亿榕信息技术有限公司 Code generation method and device based on maven plug-in and freemarker template
CN105824619A (en) * 2016-03-10 2016-08-03 四川交通职业技术学院 Code generator integrated based on Spring MVC framework, Apache Shiro framework and MyBatis framework
CN110096263A (en) * 2019-04-28 2019-08-06 贝壳技术有限公司 Web front end code automatic generation method and device
CN110147225A (en) * 2019-04-02 2019-08-20 平安科技(深圳)有限公司 A kind of code generating method, device and computer equipment, storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10275236B2 (en) * 2014-09-04 2019-04-30 Home Box Office, Inc. Generating related templated files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695091A (en) * 2009-10-28 2010-04-14 中兴通讯股份有限公司 Device and method for automatically matching pictures of terminal switching machine
CN103500087A (en) * 2013-09-17 2014-01-08 福建亿榕信息技术有限公司 Code generation method and device based on maven plug-in and freemarker template
CN105824619A (en) * 2016-03-10 2016-08-03 四川交通职业技术学院 Code generator integrated based on Spring MVC framework, Apache Shiro framework and MyBatis framework
CN110147225A (en) * 2019-04-02 2019-08-20 平安科技(深圳)有限公司 A kind of code generating method, device and computer equipment, storage medium
CN110096263A (en) * 2019-04-28 2019-08-06 贝壳技术有限公司 Web front end code automatic generation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于J2EE开源框架的业务组件代码生成器设计;尹彦均等;《微型机与应用》;20070606;全文 *

Also Published As

Publication number Publication date
CN110502242A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110502242B (en) Code automatic generation method and device, computer equipment and storage medium
CN106663002B (en) REST service source code generation
WO2019000630A1 (en) Multi-task scheduling method and system, application server and computer-readable storage medium
CN109032662B (en) Code file generation method and device, computer equipment and storage medium
CN109670951B (en) Block chain intelligent contract debugging and publishing method and system
CN112181397A (en) Flow visualization monitoring method and device, computer equipment and storage medium
CN111563368A (en) Report generation method and device, computer equipment and storage medium
WO2022252637A1 (en) Browser-based rpa implementation method and apparatus, device, and medium
CN111984228B (en) Interface document processing method and device, computer equipment and storage medium
Wittern et al. Opportunities in software engineering research for web API consumption
CN110083384B (en) Application programming interface creating method and device
WO2020015191A1 (en) Business rule releasing and managing method, electronic device and readable storage medium
US20160253172A1 (en) Indicating a trait of a continuous delivery pipeline
CN114327678B (en) Real-time data processing system and method supporting multiple engines
WO2019062132A1 (en) Service rule management method and apparatus, storage medium, and computer device
CN109254765B (en) Timing task management method, device, computer equipment and storage medium
WO2021008576A1 (en) Context information management method, device, and system, and computer-readable storage medium
CN113377668A (en) Automatic testing method and device for service interface and computer equipment
CN112882846A (en) Data processing method and device of message queue, computer equipment and storage medium
CN111831365A (en) Interface route forwarding method, system, computer equipment and readable storage medium
CN112422450A (en) Computer equipment, and flow control method and device for service request
CN110969354A (en) Linear flow configuration method and device, computer equipment and storage medium
CN109460278B (en) Cloud desktop building design software management method and device and computer equipment
CN106936643B (en) Equipment linkage method and terminal equipment
CN100495334C (en) Method for running threaded/process in-local/remote based on task/leading routines

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