CN112905176A - Method and device for realizing back end of web system based on SpringBoot - Google Patents

Method and device for realizing back end of web system based on SpringBoot Download PDF

Info

Publication number
CN112905176A
CN112905176A CN202110170926.5A CN202110170926A CN112905176A CN 112905176 A CN112905176 A CN 112905176A CN 202110170926 A CN202110170926 A CN 202110170926A CN 112905176 A CN112905176 A CN 112905176A
Authority
CN
China
Prior art keywords
data
service
operation data
module
conditional expression
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.)
Granted
Application number
CN202110170926.5A
Other languages
Chinese (zh)
Other versions
CN112905176B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110170926.5A priority Critical patent/CN112905176B/en
Publication of CN112905176A publication Critical patent/CN112905176A/en
Application granted granted Critical
Publication of CN112905176B publication Critical patent/CN112905176B/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/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for realizing the back end of a web system based on SpringBoot, wherein the method comprises the following steps: receiving operation data sent on a page display layer; extracting a service ID and a maintenance object ID corresponding to the operation data from the operation data; acquiring configuration information corresponding to a service ID from a service parameter table stored in a data access layer, wherein the configuration information comprises service processing logics corresponding to different data fields, a data table where each data field is located, and a mapping relation between each data field and a table field in the data table; combining the ID of the maintenance object and the service processing logic into a conditional expression; and processing the operation data by using the conditional expression. The invention can reduce the change of the back-end service layer in the development process, reduce the development cost and simultaneously improve the stability of the system.

Description

Method and device for realizing back end of web system based on SpringBoot
Technical Field
The invention relates to the technical field of web system development, in particular to a method and a device for realizing a web system back end based on SpringBoot.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Currently, the mainstream web system development based on the SpringBoot is realized by adopting a three-layer architecture system, which is respectively as follows: the system comprises a page display layer, a business logic layer and a data access layer. The page display layer mainly displays the service function to a user for use and collects data operated and submitted by the user; the service logic layer realizes the logic function to be executed after the user operation; the data access layer realizes the access and operation processing of data.
In the development process, the functions respectively realized by the three layers need to be logically clear, and the whole system is designed according to the functions, so that the data files of the whole system are managed. As the market changes from time to time, the market puts more and deeper adaptation demands on the business, and the demands are finally realized on a software system. Frequent and deep changes bring about continuous upgrading and transformation of the whole web system, and huge development cost is increased.
Taking the development of two object models as an example, student information (such as information of school number, name, gender, native place and the like) and teacher information (such as information of teacher number, name, gender, native place, title, graduation institution and specialty and the like) exist at present and need to be managed and maintained in the system. Referring to fig. 1, according to the current development mode, it is necessary to write business logics for student information and teacher information in a business logic layer, and manage and maintain the student information table and the teacher information table in a data access layer. If the student information or the teacher information is adjusted, the display content of the page display layer and the information processing logic of the business logic layer need to be modified, and then the content in the data table of the data access layer needs to be adjusted, which means that all three layers need to be adjusted adaptively and changed greatly. If the business module is frequently adjusted, further version management cost is involved, and huge development cost is brought.
Disclosure of Invention
The embodiment of the invention provides a web system back end implementation method based on SpringBoot, which is used for reducing the change of a back end service layer in the development process, reducing the development cost and simultaneously improving the stability of the system, and comprises the following steps:
receiving operation data sent on a page display layer;
extracting a service ID and a maintenance object ID corresponding to the operation data from the operation data;
acquiring configuration information corresponding to a service ID from a service parameter table stored in a data access layer, wherein the configuration information comprises service processing logics corresponding to different data fields, a data table where each data field is located, and a mapping relation between each data field and a table field in the data table;
combining the ID of the maintenance object and the service processing logic into a conditional expression;
and processing the operation data by using the conditional expression.
The embodiment of the invention also provides a web system back-end implementation device based on SpringBoot, which is used for reducing the change of a back-end service layer in the development process, reducing the development cost and simultaneously improving the stability of the system, and the device comprises:
the receiving module is used for receiving the operation data sent on the page display layer;
the extracting module is used for extracting the service ID and the maintenance object ID corresponding to the operation data from the operation data received by the receiving module;
the acquisition module is used for acquiring configuration information corresponding to the service ID extracted by the extraction module from a service parameter table stored in the data access layer, wherein the configuration information comprises service processing logics respectively corresponding to different data fields, a data table where each data field is located, and a mapping relation between each data field and the table field in the data table;
the combination module is used for combining the maintenance object ID extracted by the extraction module and the service processing logic acquired by the acquisition module into a conditional expression;
and the updating module is used for processing the operation data received by the receiving module by using the conditional expression combined by the combining module.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the method for realizing the back end of the web system based on the SpringBoot.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method for implementing the web system backend based on the SpringBoot is stored in the computer-readable storage medium.
In the embodiment of the invention, when the operation data is sent on the page display layer, the service ID and the maintenance object ID are added in the operation data, the service logic layer searches the configuration parameters of the corresponding service in the service parameter table of the data access layer according to the service ID, and updates the operation data to the data table of the data access layer by using the configuration parameters. Therefore, when the service changes, the modification of the whole web system can be realized by modifying the configuration parameters in the service parameter table and the operation interface of the page display layer, the development difficulty is simplified, the development efficiency is improved, and the development cost is reduced; the method can completely realize the mode without restarting the service when the system is updated, achieves the effects that the system upgrading client has no perception and does not influence the real-time operation of the client, and improves the stability of the system. Moreover, the service logic layer realizes centralized management of various services, development and maintenance of different developers are avoided, development quality differences caused by the individual capacity of the developers are further avoided, meanwhile, the proportion of the developers can be properly reduced, and the compactness of the whole development team is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a three-layer architecture of a web system based on SpringBoot in the prior art;
fig. 2 is a flowchart of a method for implementing a web system backend based on SpringBoot in an embodiment of the present invention;
fig. 3 is a flowchart of another method for implementing a backend of a web system based on SpringBoot according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a three-layer architecture of a web system based on SpringBoot in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a web system back-end implementation device based on SpringBoot in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The embodiment of the invention provides a method for realizing a web system back end based on SpringBoot, and as shown in FIG. 2, the method comprises steps 201 to 205:
step 201, receiving operation data sent on a page display layer.
The operation data is in a message form, the message structure is organized according to a Json form, and the field value of each data field is submitted by a user through a front-end page.
Step 202, extracting the service ID and the maintenance object ID corresponding to the operation data from the operation data.
The service ID is set by the web system developer to distinguish between different service treatments made to different maintenance objects. For example, if the personal information of Zhang III of the employee is changed, the operation data carries the service ID 001; if the query operation is performed on the personal information of Zhang III, the operation data carries the service ID 002; and if the personal information of the employee lie four is queried, the operation data carries the service ID 003.
The maintenance object ID is used to distinguish different operation objects, and in the above example, zhang san and lie san may be used as the maintenance object ID.
The service ID and the maintenance object ID can be one or more of characters, numbers, letters and other symbols.
Illustratively, the following is operation data sent on the page display layer when new student information is added:
Figure RE-GDA0003015390910000041
in the above example, "010001001" is the service ID, and "zhang san" can be the maintenance object ID.
Step 203, obtaining the configuration information corresponding to the service ID from the service parameter table stored in the data access layer.
The configuration information includes service processing logics corresponding to different data fields, a data table where each data field is located, and a mapping relation between each data field and a table field in the data table.
It should be noted that the service IDs in the service parameter table are different from each other, so as to ensure the accuracy of the corresponding relationship between the service ID and the configuration information.
Considering that the operation data includes a plurality of data fields, for example, the operation data added with three pieces of information of employees includes name, gender, birth date, telephone number, graduation colleges, work history, parent information, brother and sister information, etc., the three pieces of information are divided into three types of information in the database, and basic information, history and social relationship are respectively stored in three different data tables, so that the configuration information needs to include business processing logic corresponding to each data field such as name, gender, etc., the data table in which the data field is located, and business logic corresponding to which table field in the data table corresponds, for example, business logic of information added corresponding to the name is stored in the data table 1 and corresponds to the table field name.
And step 204, combining the maintenance object ID and the service processing logic into a conditional expression.
Wherein fixed locations of the business process logic set variables.
Specifically, referring to fig. 3, step 204 may be implemented as steps 2041 and 2042 as follows:
and step 2041, replacing the variable set by the service processing logic at the fixed position with the maintenance object ID.
Step 2042, determine the replaced business processing logic as a conditional expression for processing the operation data.
That is, when setting a service logic, a variable is set at a fixed position therein, and the service logic at this time is universally applicable to the same service; and after receiving the operation data, replacing the variable with the maintenance object ID in the operation data, so that the possible conditional expression is applicable to the maintenance object.
It is added that the conditional expression is an SQL statement.
Step 205, processing the operation data by using the conditional expression.
In actual system development, data field values in the operation data are different from table field values stored in the data table, and for example, the employee status of the operation data upload includes three types of normal, leaving, and decryption, but in a case where the normal, leaving, and decryption are referred to as a data dictionary, and 1, 3, and 2 are referred to as dictionary entries, the data packet includes a packet in which the normal is stored as 1, the leaving is stored as 3, and the decryption is stored as 2. When a data dictionary appears in the operation data, the operation related to the dictionary entry can be executed in the data table after the data dictionary corresponds to the dictionary entry. Therefore, in the embodiment of the invention, after receiving the operation data sent by the page display layer, the operation data is traversed, and whether the operation data contains the data dictionary is determined; and if the operation data contains the data dictionary, determining the dictionary item corresponding to the data dictionary in the operation data according to the pre-stored corresponding relation between the data dictionary and the dictionary item. Thereafter, the dictionary entries are processed using the conditional expressions.
Specifically, when the service corresponding to the service ID is other services than the query service, such as an add service, a delete service, and a change service, and the conditional expression and the operation data are used to process the operation data, an SQL processing statement is generated first, where the SQL processing statement includes an update value of a data field, a data table where the data field is located, and a mapping relationship between the data field and the table field in the data table; and then, the SQL processing statement is utilized to update the corresponding table fields in the corresponding data tables into the updated values of the data fields.
In another implementation, if it is a query service, the operation data does not include the updated values of the data fields, but includes all the data fields to be queried, and after determining the data table in which each data field is located and the corresponding table field through the configuration information, the field values of the corresponding table fields are directly extracted.
It should be noted that, besides adding, deleting, modifying, and checking services, other services, such as pre-judgment, pre-checking, etc., may also be implemented, and these services may all be implemented by defining corresponding service processing logic.
After the corresponding table fields in the corresponding data tables are updated to the updated data fields, the execution results can be fed back to the page display layer, and the front-end interface is moved to display the execution results to the user.
Referring to fig. 4, which is a schematic diagram of a three-layer architecture of a web system based on SpringBoot in the embodiment of the present invention, as can be seen from a comparison between fig. 4 and fig. 1, in the embodiment of the present invention, a service logic layer defines a general logic, and specifically, a processing logic for each service is stored in a service parameter table in a data access layer, so that service adjustment can be realized by modifying a page display layer and the data access layer, and development efficiency is greatly improved.
In the embodiment of the invention, when the operation data is sent on the page display layer, the service ID and the maintenance object ID are added in the operation data, the service logic layer searches the configuration parameters of the corresponding service in the service parameter table of the data access layer according to the service ID, and updates the operation data to the data table of the data access layer by using the configuration parameters. Therefore, when the service changes, the modification of the whole web system can be realized by modifying the configuration parameters in the service parameter table and the operation interface of the page display layer, the development difficulty is simplified, the development efficiency is improved, and the development cost is reduced; the method can completely realize the mode without restarting the service when the system is updated, achieves the effects that the system upgrading client has no perception and does not influence the real-time operation of the client, and improves the stability of the system. Moreover, the service logic layer realizes centralized management of various services, development and maintenance of different developers are avoided, development quality differences caused by the individual capacity of the developers are further avoided, meanwhile, the proportion of the developers can be properly reduced, and the compactness of the whole development team is improved.
The embodiment of the invention also provides a device for realizing the back end of the web system based on the SpringBoot, which is described in the following embodiment. Because the principle of solving the problems of the device is similar to the method for realizing the rear end of the web system based on the SpringBoot, the implementation of the device can refer to the implementation of the method for realizing the rear end of the web system based on the SpringBoot, and repeated parts are not described again.
As shown in fig. 5, the apparatus 500 includes a receiving module 501, an extracting module 502, an obtaining module 503, a combining module 504, and an updating module 505.
The receiving module 501 is configured to receive operation data sent on a page display layer.
An extracting module 502, configured to extract the service ID and the maintenance object ID corresponding to the operation data from the operation data received by the receiving module 501.
An obtaining module 503, configured to obtain, from the service parameter table stored in the data access layer, configuration information corresponding to the service ID extracted by the extracting module 502, where the configuration information includes service processing logic corresponding to different data fields, a data table where each data field is located, and a mapping relationship between each data field and a table field in the data table.
The combining module 504 is configured to combine the maintenance object ID extracted by the extracting module 502 and the service processing logic acquired by the acquiring module 503 into a conditional expression.
An updating module 505, configured to process the operation data received by the receiving module 501 by using the conditional expressions combined by the combining module 504.
In one implementation manner of the embodiment of the present invention, the apparatus 500 further includes:
a determining module 506, configured to traverse the operation data received by the receiving module 501, and determine whether the operation data includes a data dictionary;
the determining module 506 is further configured to determine, when the operation data includes a data dictionary, a dictionary entry corresponding to the data dictionary in the operation data according to a pre-stored correspondence between the data dictionary and the dictionary entry;
an update module 505 for:
the dictionary entries determined by the determination module 506 are processed using conditional expressions.
In an implementation manner of the embodiment of the present invention, a variable is set at a fixed location of a service processing logic, and the combining module 504 is configured to:
replacing the variable set at the fixed position of the business processing logic by using the ID of the maintenance object;
and determining the replaced business processing logic as a conditional expression for processing the operation data.
In an implementation manner of the embodiment of the present invention, the conditional expression is an SQL statement, and when the service corresponding to the service ID is not the query service, the update module 505 is configured to:
generating an SQL processing statement by using the conditional expression and the operation data, wherein the SQL processing statement comprises an updated value of a data field, a data table where the data field is located and a mapping relation between the data field and the table field in the data table;
and updating the corresponding table field in the corresponding data table into an updated value of the data field by using the SQL processing statement.
In the embodiment of the invention, when the operation data is sent on the page display layer, the service ID and the maintenance object ID are added in the operation data, the service logic layer searches the configuration parameters of the corresponding service in the service parameter table of the data access layer according to the service ID, and updates the operation data to the data table of the data access layer by using the configuration parameters. Therefore, when the service changes, the modification of the whole web system can be realized by modifying the configuration parameters in the service parameter table and the operation interface of the page display layer, the development difficulty is simplified, the development efficiency is improved, and the development cost is reduced; the method can completely realize the mode without restarting the service when the system is updated, achieves the effects that the system upgrading client has no perception and does not influence the real-time operation of the client, and improves the stability of the system. Moreover, the service logic layer realizes centralized management of various services, development and maintenance of different developers are avoided, development quality differences caused by the individual capacity of the developers are further avoided, meanwhile, the proportion of the developers can be properly reduced, and the compactness of the whole development team is improved.
An embodiment of the present invention further provides a computer device, and fig. 6 is a schematic diagram of the computer device in the embodiment of the present invention, where the computer device is capable of implementing all steps in the method for implementing a web system backend based on SpringBoot in the embodiment of the present invention, and the computer device specifically includes the following contents:
a processor (processor)601, a memory (memory)602, a communication Interface (Communications Interface) 603, and a communication bus 604;
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the communication bus 604; the communication interface 603 is used for implementing information transmission between related devices;
the processor 601 is configured to invoke the computer program in the memory 602, and when the processor executes the computer program, the method for implementing the backend of the web system based on the SpringBoot in the foregoing embodiments is implemented.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method for implementing the web system backend based on the SpringBoot is stored in the computer-readable storage medium.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for realizing the back end of a web system based on SpringBoot is characterized by comprising the following steps:
receiving operation data sent on a page display layer;
extracting a service ID and a maintenance object ID corresponding to the operation data from the operation data;
acquiring configuration information corresponding to a service ID from a service parameter table stored in a data access layer, wherein the configuration information comprises service processing logics corresponding to different data fields, a data table where each data field is located, and a mapping relation between each data field and a table field in the data table;
combining the ID of the maintenance object and the service processing logic into a conditional expression;
and processing the operation data by using the conditional expression.
2. The method of claim 1, wherein after receiving the operational data sent on the page display layer, the method further comprises:
traversing the operation data, and determining whether the operation data contains a data dictionary;
if the operation data contains the data dictionary, determining dictionary items corresponding to the data dictionary in the operation data according to the pre-stored corresponding relation between the data dictionary and the dictionary items;
processing the operational data using the conditional expression, including:
processing the dictionary term using the conditional expression.
3. The method of claim 1, wherein setting a variable at a fixed location of a business process logic, combining a maintenance object ID and the business process logic into a conditional expression, comprises:
replacing the variable set at the fixed position of the business processing logic by using the ID of the maintenance object;
and determining the replaced business processing logic as a conditional expression.
4. The method according to any one of claims 1 to 3, wherein the conditional expression is an SQL statement, and when the service corresponding to the service ID is not a query service, the processing of the operation data by using the conditional expression includes:
generating an SQL processing statement by using the conditional expression and the operation data, wherein the SQL processing statement comprises an updated value of a data field, a data table where the data field is located and a mapping relation between the data field and the table field in the data table;
and updating the corresponding table field in the corresponding data table into the updated value of the data field by using the SQL processing statement.
5. A web system back end implementation device based on SpringBoot is characterized in that the device comprises:
the receiving module is used for receiving the operation data sent on the page display layer;
the extracting module is used for extracting the service ID and the maintenance object ID corresponding to the operation data from the operation data received by the receiving module;
the acquisition module is used for acquiring configuration information corresponding to the service ID extracted by the extraction module from a service parameter table stored in the data access layer, wherein the configuration information comprises service processing logics respectively corresponding to different data fields, a data table where each data field is located, and a mapping relation between each data field and the table field in the data table;
the combination module is used for combining the maintenance object ID extracted by the extraction module and the service processing logic acquired by the acquisition module into a conditional expression;
and the updating module is used for processing the operation data received by the receiving module by using the conditional expression combined by the combining module.
6. The apparatus of claim 5, further comprising:
the determining module is used for traversing the operation data received by the receiving module and determining whether the operation data contains a data dictionary;
the determining module is further used for determining dictionary items corresponding to the data dictionary in the operation data according to the corresponding relation between the pre-stored data dictionary and the dictionary items when the operation data contains the data dictionary;
an update module to:
and processing the dictionary items determined by the determining module by using the conditional expressions.
7. The apparatus of claim 5, wherein the fixed location of the business processing logic sets a variable, and wherein the combining module is configured to:
replacing the variable set at the fixed position of the business processing logic by using the ID of the maintenance object;
and determining the replaced business processing logic as a conditional expression.
8. The apparatus according to any one of claims 5 to 7, wherein the conditional expression is an SQL statement, and when the service corresponding to the service ID is not a query service, the updating module is configured to:
generating an SQL processing statement by using the conditional expression and the operation data, wherein the SQL processing statement comprises an updated value of a data field, a data table where the data field is located and a mapping relation between the data field and the table field in the data table;
and updating the corresponding table field in the corresponding data table into the updated value of the data field by using the SQL processing statement.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
CN202110170926.5A 2021-02-08 2021-02-08 Web system back-end implementation method and device based on SpringBoot Active CN112905176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110170926.5A CN112905176B (en) 2021-02-08 2021-02-08 Web system back-end implementation method and device based on SpringBoot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110170926.5A CN112905176B (en) 2021-02-08 2021-02-08 Web system back-end implementation method and device based on SpringBoot

Publications (2)

Publication Number Publication Date
CN112905176A true CN112905176A (en) 2021-06-04
CN112905176B CN112905176B (en) 2024-02-09

Family

ID=76123932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110170926.5A Active CN112905176B (en) 2021-02-08 2021-02-08 Web system back-end implementation method and device based on SpringBoot

Country Status (1)

Country Link
CN (1) CN112905176B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111282A (en) * 2009-12-24 2011-06-29 上海杉达学院 Information management system architecture based on telecommunication service (TS) and building method thereof
CN108304172A (en) * 2017-01-13 2018-07-20 北京畅游天下网络技术有限公司 A kind of web development approaches and web develop engine
CN110990400A (en) * 2019-11-20 2020-04-10 浙江大搜车软件技术有限公司 Database query method and device, computer equipment and storage medium
CN111966738A (en) * 2020-08-20 2020-11-20 广东优触感科技有限公司 System for automatically realizing back-end programming by selecting front-end configuration
CN112035197A (en) * 2020-08-11 2020-12-04 深圳前海微众银行股份有限公司 Configuration method and device of front-end page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111282A (en) * 2009-12-24 2011-06-29 上海杉达学院 Information management system architecture based on telecommunication service (TS) and building method thereof
CN108304172A (en) * 2017-01-13 2018-07-20 北京畅游天下网络技术有限公司 A kind of web development approaches and web develop engine
CN110990400A (en) * 2019-11-20 2020-04-10 浙江大搜车软件技术有限公司 Database query method and device, computer equipment and storage medium
CN112035197A (en) * 2020-08-11 2020-12-04 深圳前海微众银行股份有限公司 Configuration method and device of front-end page
CN111966738A (en) * 2020-08-20 2020-11-20 广东优触感科技有限公司 System for automatically realizing back-end programming by selecting front-end configuration

Also Published As

Publication number Publication date
CN112905176B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US20210117437A1 (en) Data model transformation
US10089294B2 (en) Systems and methods for tracking and modifying actions in an action history
US11030223B2 (en) Collaboration activity summaries
CN109144997A (en) Data correlation method, device and storage medium
CN110134705A (en) A kind of data query method, cache server and terminal
WO2018069811A1 (en) System and method for retrieving data from server computers
EP3173951A1 (en) Integrated framework for secured data provisioning and management
CN110023925A (en) It generates, access and display follow metadata
US9195456B2 (en) Managing a catalog of scripts
US9830385B2 (en) Methods and apparatus for partitioning data
US8280847B2 (en) Apparatus, method, and computer program product for synchronizing data sources
CN110019314B (en) Dynamic data packaging method based on data item analysis, client and server
US20170371922A1 (en) Database Management for Mobile Devices
CN111125229A (en) Data blood margin generation method and device and electronic equipment
CN109522332A (en) Customer profile data merging method, device, equipment and readable storage medium storing program for executing
CN106687955A (en) Simplifying invocation of import procedures to transfer data from data sources to data targets
US11726999B1 (en) Obtaining inferences to perform access requests at a non-relational database system
CN105095425A (en) Cross-database transfer method and device for databases
CN105975489A (en) Metadata-based online SQL code completion method
CN108228762B (en) Method and system for configuring master database universal templates
US11475064B2 (en) System and method in a database system for creating a field service work order
US10671626B2 (en) Identity consolidation in heterogeneous data environment
CN113342921B (en) Resource cataloging method and device
CN108694172B (en) Information output method and device
CN112905176B (en) Web system back-end implementation method and device based on SpringBoot

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