Custom Export Device, Method, Equipment and Medium Based on Configurable Template
Through a custom export device and method based on configurable templates, users can flexibly configure each part and style of the table template, solving the problem of limited selection of export items in the prior art, and realizing the adaptability and reuse of table templates without code changes.
Patent Information
- Application Number
- CN202211564157.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2042-12-07
AI Technical Summary
The export items of table templates in existing business systems are limited, and the display order, location and style of the export fields cannot be flexibly configured, resulting in code changes required when business changes.
It provides a custom export device and method based on configurable templates. Through the initial template acquisition, maintenance, modification and export module, users can adjust table information through the template configuration interface, including table attributes, head content, tail content, list content and style, and generate target export templates.
The configuration process of table templates is simplified, secondary code development is avoided, and the requirements of different business scenarios can be adapted to different business scenarios, and the initial table template is reused for modification and export.
Smart Images

Figure CN116167350B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and particularly relates to a custom export device, method, equipment and medium based on a configurable template. Background Art
[0002] In some existing business system export template configuration scenarios, only a few columns displayed in the query list can be selected as export items, and the selectable export items are very limited. Moreover, the display order of the export fields, the headers and footers of the export content, and the display positions and styles of the export content in Excel are fixed and cannot be configured and changed. If there is a business change, code modification is still required. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a custom export device, method, equipment and medium based on a configurable template, which can adjust the table information of the initial table template according to the modification parameters, avoiding secondary development of the table code and simplifying the configuration process of the table template. The specific solutions are as follows:
[0004] In a first aspect, the present application provides a custom export device based on a configurable template, including:
[0005] An initial template acquisition module, configured to acquire an initial table template;
[0006] An initial template maintenance module, configured to save the initial table template and generate a template configuration interface corresponding to the service corresponding to the initial table template for exporting the initial table template or modifying the initial table template again;
[0007] A template modification module, configured to acquire modification parameters input by a user through the template configuration interface for the table information in the initial table template, and modify the initial table template according to a preset table modification rule and the modification parameters to obtain a target export template; the table information includes: table attributes, header content, footer content, list content and table style;
[0008] A template export module, configured to view the target export template through the template configuration interface and export the target export template for the user to call.
[0009] Optionally, the initial template acquisition module includes:
[0010] A template acquisition unit, configured to acquire an initial table template generated based on preset fixed scenario requirements;
[0011] A template adjustment unit, configured to adjust the table style and / or content format of the initial table template to obtain an adjusted initial table template;
[0012] Accordingly, the initial template maintenance module includes:
[0013] The adjusted template saving unit is used to save the adjusted initial form template.
[0014] Optionally, the initial template maintenance module includes:
[0015] An initial template saving unit, used for saving the initial form template;
[0016] The interface generating unit is configured to generate a template configuration interface corresponding to the service corresponding to the initial table template.
[0017] Optionally, the template modification module includes:
[0018] A modification parameter acquisition submodule, configured to acquire modification parameters for the table information in the initial table template input by the user through the template configuration interface;
[0019] The template modification unit is used to modify the initial table template according to the preset table modification rules and the modification parameters to obtain a target export template.
[0020] Optionally, the modification parameter acquisition submodule includes:
[0021] a first parameter acquisition unit, configured to acquire modification parameters for table attributes in the initial table template input by a user through the template configuration interface;
[0022] a second parameter obtaining unit, for obtaining modification parameters of the table header in the initial table template input by the user through the template configuration interface;
[0023] a third parameter obtaining unit, configured to obtain a modification parameter for the table footer in the initial table template input by the user through the template configuration interface;
[0024] The fourth parameter obtaining unit obtains the modification parameters for the list part in the initial table template input by the user through the template configuration interface.
[0025] Optionally, the template export module includes:
[0026] A template viewing unit, configured to view the target export template through the template configuration interface;
[0027] The template exporting unit is used to export the target export template so that the user can call it.
[0028] Optionally, the template modification module further includes:
[0029] The table style determining unit is used to determine a target table style for modifying the initial table template from a preset style library.
[0030] In a second aspect, the present application provides a custom export method based on a configurable template, including:
[0031] Get the initial form template;
[0032] Saving the initial form template, and generating a template configuration interface corresponding to the business corresponding to the initial form template so as to export the initial form template or modify the initial form template again;
[0033] Acquiring modification parameters for table information in the initial table template input by the user through the template configuration interface, and modifying the initial table template according to preset table modification rules and the modification parameters to obtain a target export template; the table information includes: table attributes, header content, footer content, list content, and table style;
[0034] The target export template is viewed through the template configuration interface, and the target export template is exported so that the user can call it.
[0035] In a third aspect, the present application provides an electronic device, comprising:
[0036] Memory, used to store computer programs;
[0037] A processor is used to execute the computer program to implement the steps of the above-mentioned custom export method based on a configurable template.
[0038] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the above-mentioned custom export method based on a configurable template are implemented.
[0039] As can be seen, the present application may include: an initial template acquisition module for acquiring an initial table template; an initial template maintenance module for saving the initial table template and generating a template configuration interface corresponding to the service corresponding to the initial table template so as to export the initial table template or modify the initial table template again; a template modification module for acquiring modification parameters input by the user through the template configuration interface for the table information in the initial table template, and modifying the initial table template according to a preset table modification rule and the modification parameters to obtain a target export template; the table information includes: table attributes, header content, footer content, list content, and table style; a template export module for viewing the target export template through the template configuration interface and exporting the target export template for the user to call. In this way, the present application can divide the table template into parts such as the header, footer, list part, table attributes, and table style, and can modify the initial table template using the modification parameters. At the same time, the initial table template can be reused for modification and export, which can meet the table template requirements of different application scenarios, simplify the maintenance and export process of the table service template, and avoid secondary development of the table template in terms of code. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0041] Figure 1 Structural schematic diagram of a custom export device based on a configurable template disclosed in the present application;
[0042] Figure 2 Flowchart of a specific custom export method based on a configurable template disclosed in the present application;
[0043] Figure 3 Flowchart of a specific template configuration method disclosed in the present application;
[0044] Figure 4 Structural diagram of an electronic device disclosed in the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0046] Some existing table template export business systems have very limited export items to choose from, and the display order of the exported fields, the header and footer of the exported content, and the display position and style of the exported content in Excel are fixed and cannot be configured and changed. If there are business changes, the code still needs to be modified again. This application can flexibly set the display content and style of each part of the exported Excel. After the template maintenance is completed, no matter how the business export requirements change, you only need to maintain the export template information, and no secondary development of the code is required. And no matter how many business scenarios there are, you can reuse the basic configuration template to import and generate export template data. The export function development of each business module has also become simpler. The export function of all business modules only needs to pass in the table modification parameters, and can be implemented by using a unified Excel processing and writing export method.
[0047] See also Figure 1 As shown, an embodiment of the present invention discloses a custom export device based on a configurable template, comprising:
[0048] An initial template acquisition module 11 , an initial template maintenance module 12 , a template modification module 13 and a template export module 14 .
[0049] The initial template acquisition module 11 is used to acquire an initial form template.
[0050] In this embodiment, the initial form template can be obtained by using the initial template acquisition module. It is understandable that the initial form template can be a basic form template with a fixed format obtained from the Internet. In this way, a rich resource of initial form templates can be obtained, which can be adapted to various business scenarios and improve the robustness of the present application.
[0051] The initial template maintenance module 12 is used to save the initial form template and generate a template configuration interface corresponding to the business corresponding to the initial form template so as to export the initial form template or modify the initial form template again.
[0052] In this embodiment, after obtaining the initial table template, the initial template maintenance module can be used to save the initial table template; specifically, the initial table template can be imported into the initial template maintenance module, and the initial template maintenance module can generate a template configuration interface for the corresponding business scenario based on the business scenario corresponding to the initial table template, that is, a basic table template only for the business scenario; it should be pointed out that the initial table template can be reused; in this way, after generating the template configuration interface, it is convenient for users to modify or export the corresponding table template through the template configuration interface.
[0053] The template modification module 13 is used to obtain the modification parameters for the table information in the initial table template input by the user through the template configuration interface, and modify the initial table template according to the preset table modification rules and the modification parameters to obtain the target export template; the table information includes: table attributes, header content, footer content, list content and table style.
[0054] In this embodiment, a modification parameter acquisition submodule may be included, which is used to obtain the modification parameters for the table information in the initial table template input by the user through the template configuration interface; a template modification unit is used to modify the initial table template according to the preset table modification rules and the modification parameters to obtain the target export template. Specifically, after the template configuration interface corresponding to the initial table template is generated by the initial table template maintenance module, the user can modify the corresponding initial table template through the template configuration interface; wherein the modification parameter acquisition submodule may include: a first parameter acquisition unit, which obtains the modification parameters for the table attributes in the initial table template input by the user through the template configuration interface; a second parameter acquisition unit, which obtains the modification parameters for the table header in the initial table template input by the user through the template configuration interface; a third parameter acquisition unit, which obtains the modification parameters for the table footer in the initial table template input by the user through the template configuration interface; and a fourth parameter acquisition unit, which obtains the modification parameters for the list part in the initial table template input by the user through the template configuration interface. Specifically, the present application can obtain the modification parameters for the table information in the initial table template input by the user through the template configuration interface. The table information may include table attributes, header content, footer content, list content and table style. Further, it may include paging method, style of each part in the table, etc. Then, in the template modification module, the modification parameters can be used to modify the corresponding initial table template to obtain the target export template. In this way, the present application can flexibly configure the content displayed in each part of the table and the corresponding style; it should be pointed out that, in a specific embodiment, the present application may include a table style determination unit for determining the target table style for modifying the initial table template from a preset style library.
[0055] The template export module 14 is configured to view the target export template through the template configuration interface and export the target export template so that the user can call it.
[0056] In this embodiment, a template viewing unit may be included, which is used to view the target export template through the template configuration interface; and a template exporting unit may be used to export the target export template so that the user can call it. Specifically, after obtaining the target export template through the template modification module, the target export template can be downloaded and viewed in the template export module through the template configuration interface, and the template export module can export the latest target export template. In this way, the present application can view and export the target export template for export use or to modify it again through the template configuration interface.
[0057] It can be seen that in this embodiment, an initial table template can be obtained through the initial template acquisition module, and then a template configuration interface corresponding to the initial table template can be generated through the initial template maintenance module, so that the user can modify the content and style in the table through the template configuration interface, and then can view the modified target export template and export the target export template for invocation. In this way, the content and style of each part of the table can be configured in this application, avoiding secondary development of the table template in terms of code, and after modifying the table template through the template configuration interface, it can be exported or modified again, which can meet the requirements of different business scenarios for the table template.
[0058] The relevant content in the custom export device based on the configurable template is introduced in detail in the above embodiment, and the table content and table style of the table template can be flexibly configured. Next, a custom export method based on the configurable template will be introduced. See Figure 2 As shown, an embodiment of the present invention discloses a custom export method based on a configurable template, including:
[0059] Step S11: Obtain an initial table template.
[0060] In a specific embodiment, after obtaining the initial table template, the special marks of each part of the initial table template can be designed and adjusted according to a preset template design scheme. It can be understood that subsequently, the content and style of the initial table template can be designed and produced based on the mark content. Further, there are special symbols or marks for the basic attributes, header content, footer content, list content, etc. in the initial table template to express their respective positions, styles, the content to be displayed in each cell, and which field values in the background they match.
[0061] Step S12: Save the initial table template, and generate a template configuration interface corresponding to the business corresponding to the initial table template for exporting the initial table template or modifying the initial table template again.
[0062] In this embodiment, after obtaining the initial table template, the initial table template can be saved, and a template configuration interface for the service corresponding to the initial table template can be generated. It can be understood that the user can export or modify the initial table template through the template configuration interface. In a specific embodiment, after adjusting the initial table template in step S11, the adjusted initial table template can be saved, and then the adjusted initial table template can be saved, and a template configuration interface corresponding to a fixed business scenario can be generated based on the initial table template. The background processing process of the template configuration interface for the initial table template also matches according to the above special marks of each part, and then generates detailed information data of a standardized export template, and automatically matches to the template configuration interface corresponding to the corresponding business scenario.
[0063] Step S13: Obtain the modification parameters for the table information in the initial table template input by the user through the template configuration interface, and modify the initial table template according to the preset table modification rules and the modification parameters to obtain the target export template; the table information includes: table attributes, header content, footer content, list content, and table style.
[0064] In this embodiment, the initial table template can be edited and configured through the template configuration interface. It can be understood that the corresponding initial table template can be directly exported through the template configuration interface corresponding to the business scenario for use. If there are further adjustments to the table information of the initial table template, including basic attributes, styles, content, display positions, etc., or if the business requirements change, the corresponding initial table template can be directly further edited and configured through the template configuration interface, thus avoiding re-designing and importing the corresponding initial table template. It should be noted that, such as Figure 3As shown, the functional part corresponding to the template configuration interface; this part can have a user-friendly and easy-to-operate front-end page for users to operate. Specifically, the user can click on the configuration list to select and modify the table information. Among them, there are many facilitation designs in the basic attribute configuration of the table information, which can include setting the number of sheets in the Excel file and the grouping method of the sheets; if there are no separate sheets, it can be displayed on the same sheet, or it can be set to be divided into fixed-format tables and displayed in sequence on the same sheet; the number of data groups displayed in a row of the Excel file can be set; the number of columns of data for which the total is calculated and displayed can be set. In this way, it can flexibly face the changes in multiple and various requirements that may exist in the business scenario, and the corresponding initial table template for the business scenario can be directly modified according to the customer's needs and saved. Further, in the template configuration interface of this functional module, that is, in the editing configuration page, a powerful Chinese-English contrast style library is set in the system background, and each cell can separately select the corresponding style from the style library; a field code contrast library is also set for the templates of each business module, and each cell can select the content to be displayed corresponding to the fields in the background and the database; the user can flexibly select the table style to modify the initial table template, so that the modified template can be exported as the target export template, so as to export the table according to the latest target export template for the user to use.
[0065] Step S14: View the target export template through the template configuration interface and export the target export template for the user to call.
[0066] In this embodiment, after modifying the initial table template through the template configuration interface to obtain the target export template, the target export template can be viewed and exported. Specifically, after the user selects the query conditions in the template editing function module and clicks the export button, the background action layer can obtain the query conditions, and splice the business list data corresponding to the query database according to the table list information to be displayed configured by the target export template; then, according to the excel header and footer information to be displayed configured by the target export template, splice the business data grouping information and basic information corresponding to the query database. After the query is completed, the list information, basic and grouping information, template type and other information obtained from the query can be passed into the public excel export template conversion and writing method in the service layer; the public excel export template conversion and writing method can convert and process the writing into the excel table according to the detailed information of the target export template stored in the database and the parameters passed by the method, and finally successfully export the excel table that meets the requirements of the modification parameters input by the user. It should be noted that the basic import and export functions in this application can be implemented but are not limited to using poi (Poor Obfuscation Implementation), and this application can be adapted to front-end and back-end separation frameworks, springMVC frameworks, and strus2 frameworks, etc.
[0067] Thus, this application can flexibly configure the display content and style of each part of the exported table through the template configuration interface. And in the template configuration interface, no matter how the business export requirements change, only the corresponding initial table template information needs to be maintained, and there is no need for secondary development of the code for the table template. Further, this application can reuse the basic configuration template for import and modification to generate the target export template, and modifying the initial table template through the template configuration interface only requires passing in the modification parameters for the table information, which can be implemented by a unified excel processing and writing export method, and the configuration process of the table template is also simpler.
[0068] Further, an embodiment of this application also discloses an electronic device Figure 4 is the structure diagram of the electronic device 20 shown according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application.
[0069] Figure 4Schematic diagram of the structure of an electronic device 20 provided by an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the custom export method based on a configurable template disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0070] In this embodiment, the power supply 23 is used to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of the present application, and specific limitations are not imposed here; the input / output interface 25 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application needs, and specific limitations are not imposed here.
[0071] In addition, as a carrier for resource storage, the memory 22 may be a read-only memory, a random access memory, a magnetic disk, or an optical disc, etc., and the resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.
[0072] Among them, the operating system 221 is used to manage and control each hardware device and the computer program 222 on the electronic device 20, and it may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the custom export method based on a configurable template executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks.
[0073] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the custom export method based on a configurable template disclosed above is implemented. For the specific steps of this method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details will not be repeated here.
[0074] In the present specification, the various embodiments are described in a progressive manner, and the key point of each embodiment is to illustrate the differences from other embodiments. For the same or similar parts among the various embodiments, reference may be made to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and reference may be made to the description in the method part for related parts.
[0075] Those skilled in the art may further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0076] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be directly implemented by hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0077] Finally, it should also be noted that in this document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0078] The technical solutions provided in this application have been introduced in detail above. Specific examples have been used herein to elaborate on the principles and implementation manners of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to this application.
Claims
1. A custom export device based on a configurable template, characterized in that, include: An initial template acquisition module is used to obtain an initial form template; An initial template maintenance module, configured to save the initial form template and generate a template configuration interface corresponding to a business corresponding to the initial form template so as to export the initial form template or modify the initial form template again; A template modification module, configured to obtain modification parameters for the table information in the initial table template input by the user through the template configuration interface, and modify the initial table template according to preset table modification rules and the modification parameters to obtain a target export template; The table information includes: table attributes, header content, footer content, list content, table style and sheet page grouping method, and the list content includes whether automatic calculation is set; A template export module, configured to view the target export template through the template configuration interface and export the target export template so that the user can call it; Wherein, the template modification module includes: A modification parameter acquisition submodule, configured to acquire modification parameters for the table information in the initial table template input by the user through the template configuration interface; A template modification unit, configured to modify the initial form template according to a preset form modification rule and the modification parameters to obtain a target export template; Wherein, the template modification module further includes: A table style determining unit, configured to determine a target table style for modifying an initial table template from a preset style library through the template configuration interface; the preset style library is a Chinese-English style library; Among them, the process of exporting the target export template through the template export module includes: the user selects the query conditions in the template editing function module and clicks the export button; the background action layer obtains the query conditions, and splices the business list data corresponding to the query database according to the table list information that needs to be displayed in the target export template configuration, and splices the business data grouping information and basic information corresponding to the query database according to the Excel header and tail information that needs to be displayed in the target export template configuration; the business list data, the business data grouping information and the basic information obtained from the query are passed to the public Excel export template conversion and writing method of the service layer, so that they are converted and written into an Excel table through the public Excel export template conversion and writing method, and finally an Excel table that meets the modification parameter requirements is exported.
2. The custom export device based on a configurable template according to claim 1, wherein The initial template acquisition module includes: A template acquisition unit, used to acquire a preset initial table template generated based on fixed scenario requirements; A template adjustment unit, configured to adjust the table style and / or content format of the initial table template to obtain an adjusted initial table template; Accordingly, the initial template maintenance module includes: The adjusted template saving unit is used to save the adjusted initial form template.
3. The custom export device based on a configurable template according to claim 1, wherein The initial template maintenance module includes: An initial template saving unit, used for saving the initial form template; The interface generating unit is configured to generate a template configuration interface corresponding to the service corresponding to the initial table template.
4. The custom export device based on a configurable template according to claim 1, characterized in that The template export module includes: A template viewing unit, configured to view the target export template through the template configuration interface; The template exporting unit is used to export the target export template so that the user can call it.
5. A custom export method based on a configurable template, characterized in that, include: Get the initial form template; Saving the initial form template, and generating a template configuration interface corresponding to the business corresponding to the initial form template so as to export the initial form template or modify the initial form template again; Acquiring modification parameters for the table information in the initial table template input by the user through the template configuration interface, and modifying the initial table template according to preset table modification rules and the modification parameters to obtain a target export template; The table information includes: table attributes, header content, footer content, list content, table style and sheet page grouping method, and the list content includes whether automatic calculation is set; Viewing the target export template through the template configuration interface, and exporting the target export template so that the user can call it; The step of obtaining modification parameters for the table information in the initial table template input by the user through the template configuration interface, and modifying the initial table template according to preset table modification rules and the modification parameters to obtain a target export template includes: Acquiring modification parameters for the table information in the initial table template input by the user through the template configuration interface; Modify the initial table template according to the preset table modification rules and the modification parameters to obtain a target export template; The process of obtaining the modification parameters for the table information in the initial table template input by the user through the template configuration interface further includes: Determining a target table style for modifying the initial table template from a preset style library through the template configuration interface; the preset style library is a Chinese-English style library; Among them, viewing the target export template through the template configuration interface and exporting the target export template includes: the user selects the query conditions in the template editing function module and clicks the export button; the background action layer obtains the query conditions, and splices the business list data corresponding to the query database according to the table list information that needs to be displayed in the target export template configuration, and splices the business data grouping information and basic information corresponding to the query database according to the Excel header and tail information that need to be displayed in the target export template configuration; the business list data, the business data grouping information and the basic information obtained from the query are passed to the public Excel export template conversion and writing method of the service layer, so as to be converted and written into an Excel table through the public Excel export template conversion and writing method, and finally export an Excel table that meets the modification parameter requirements.
6. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the customizable export method based on a configurable template as described in claim 5.
7. A computer-readable storage medium, characterized in that, For storing a computer program; wherein, when the computer program is executed by a processor, the steps of the customizable export method based on a configurable template as described in claim 5 are implemented.
Citation Information
Patent Citations
Method and system for generating dynamic form
CN105630502A
Form / report designer and method suitable for multiple platforms and informatization management system
CN110717320A