CN111090975B - Data printing method, data processing system and computer storage medium - Google Patents
Data printing method, data processing system and computer storage medium Download PDFInfo
- Publication number
- CN111090975B CN111090975B CN201911259916.8A CN201911259916A CN111090975B CN 111090975 B CN111090975 B CN 111090975B CN 201911259916 A CN201911259916 A CN 201911259916A CN 111090975 B CN111090975 B CN 111090975B
- Authority
- CN
- China
- Prior art keywords
- target
- column
- fixed column
- table template
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000009877 rendering Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000013439 planning Methods 0.000 description 2
- 238000013523 data management Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1205—Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1242—Image or content composition onto a page
- G06F3/1243—Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The embodiment of the application discloses a data printing method, a data processing system and a computer storage medium, which are used for printing business data. The method of the embodiment of the application comprises the following steps: the data processing system respectively acquires business data to be printed and a form template, acquires a target fixed column when the number of the fixed columns in the form template is less than the number of index items, adds the target fixed column into the form template to obtain a target form template, fills the business data into the target form template to obtain a target printing form, and prints the target printing form. In the embodiment of the application, when the business data are newly added with the data of a plurality of index items, the data processing system only needs to acquire a sufficient number of target fixed columns and add the target fixed columns into the form template, and the fixed columns of the target form template formed by the target fixed columns and the original fixed columns can be filled with all the business data, so that a user does not need to reestablish a new form template, and the operation time of the user is saved.
Description
Technical Field
The embodiment of the application relates to the field of data processing, in particular to a data printing method, a data processing system and a computer storage medium.
Background
In enterprise resource planning (ERP, ENTERPRISE RESOURCE PLANNING) system software, a user enters business data generated in business activities on the ERP system software, the ERP system software generates a form from the business data entered by the user, and the business data in the form can be printed according to the requirements of the user.
The ERP system software prints the business data based on the form template. For example, for an attendance table, the index items in the table may be index items such as enterprise employee names, employee attendance rates, employee absences days, and the like, and after the user inputs the data corresponding to each index item, the ERP system software correspondingly generates the attendance table. When the user needs to print the data in the attendance table, the user needs to establish a table template, and set index items which are the same as the attendance table in the table template, at the moment, the ERP system software correspondingly fills the data of any index item in the attendance table into the table template, and prints the table template by using a print engine.
However, in actual business activities, there may be multiple index items of business data in the form, and if the user needs to print the business data of multiple index items in the form, the ERP system software cannot print using the form template containing fewer index items. For example, the user establishes a form template only comprising 3 index items of the name of the enterprise employee, the attendance rate of the employee and the number of days of absence of the employee, and when the user needs to increase index items of late arrival times, the number of hours of overtime and the like, the established form template is not applicable any more, because the established form template can only fill data of 3 index items of the name of the enterprise employee, the attendance rate of the employee and the number of days of absence of the employee. At this time, the user needs to reestablish a form template containing the index items of the enterprise employee name, employee attendance, employee absences days, delay times, overtime hours, and the like. Therefore, when the index items of the business data in the form are continuously added, the user needs to establish different form templates for printing for many times, and manpower and material resources are consumed.
Disclosure of Invention
The embodiment of the application provides a data printing method, a data processing system and a computer storage medium, which are used for printing business data.
A first aspect of an embodiment of the present application provides a data printing method, including:
acquiring business data to be printed, wherein the business data corresponds to a plurality of index items;
Acquiring a table template, wherein each fixed column in the table template is used for filling the business data corresponding to one index item;
when the number of the fixed columns in the table template is smaller than the number of the index items, acquiring target fixed columns;
adding the target fixed column into the table template to obtain a target table template;
filling the business data into the target form template to obtain a target printing form;
And printing the target printing form.
Preferably, the method further comprises:
defining a fixed column in the form template as a dynamic column;
the acquiring the target fixed column includes:
Acquiring an attribute value of the target fixed column;
adding the target fixed column to the form template includes:
rendering the dynamic column using the attribute values of the target fixed column to replace the dynamic column with the target fixed column.
Preferably, the defining the fixed column in the table template as a dynamic column includes:
receiving a definition request sent by a user, wherein the definition request is used for representing that a fixed column in the table template is defined as the dynamic column;
And responding to the definition request, and determining a fixed column in the table template as the dynamic column.
Preferably, the service data includes data corresponding to n index items, where n is a positive integer;
the acquiring the target fixed column includes:
when m fixed columns exist in the table template, obtaining (n-m) target fixed columns, wherein m is a positive integer.
A second aspect of an embodiment of the present application provides a data processing system, including:
A first obtaining unit, configured to obtain service data to be printed, where the service data corresponds to a plurality of index items;
The second acquisition unit is used for acquiring a table template, and each fixed column in the table template is used for filling the business data corresponding to one index item;
A third obtaining unit, configured to obtain a target fixed column when the number of fixed columns in the table template is less than the number of index items;
the adding unit is used for adding the target fixed column into the table template to obtain a target table template;
the filling unit is used for filling the business data into the target form template to obtain a target printing form;
And the printing unit is used for printing the target printing form.
Preferably, the data processing system further comprises:
a definition unit, configured to define a fixed column in the table template as a dynamic column;
the third obtaining unit is specifically configured to obtain an attribute value of the target fixed column;
The adding unit is specifically configured to render the dynamic column by using the attribute value of the target fixed column, so as to replace the dynamic column with the target fixed column.
Preferably, the definition unit is specifically configured to receive a definition request sent by a user, where the definition request is used to indicate that a fixed column in the table template is defined as the dynamic column, and in response to the definition request, the fixed column in the table template is determined as the dynamic column.
Preferably, the service data includes data corresponding to n index items, where n is a positive integer;
The third obtaining unit is specifically configured to obtain (n-m) target fixed columns when m fixed columns exist in the table template, where m is a positive integer.
A third aspect of an embodiment of the present application provides a data processing system, including:
a processor, a memory, a bus, and an input/output device;
The processor is connected with the memory and the input and output equipment;
the bus is respectively connected with the processor, the memory and the input and output equipment;
The input and output equipment is used for acquiring business data to be printed, the business data corresponds to a plurality of index items, a table template is acquired, each fixed column in the table template is used for filling the business data corresponding to one index item, and when the number of the fixed columns in the table template is less than the number of the index items, a target fixed column is acquired;
The processor is used for adding the target fixed column into the form template to obtain a target form template, filling the business data into the target form template to obtain a target printing form, and printing the target printing form.
A fourth aspect of the embodiments of the present application provides a computer storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method of the first aspect described above.
From the above technical solutions, the embodiment of the present application has the following advantages:
The data processing system acquires business data to be printed, acquires a form template, and each fixed column in the form template is used for filling business data corresponding to one index item. When the number of the fixed columns in the table template is smaller than the number of the index items, that is, the number of the fixed columns in the table template is insufficient, part of business data cannot be filled, at this time, the data processing system acquires the target fixed columns, and adds the target fixed columns to the table template to obtain the target table template, wherein the number of the target fixed columns acquired by the data processing system ensures that the target table template can be filled with all business data. And the data processing system fills the business data into the target form template to obtain a target printing form, and prints the target printing form. In the embodiment of the application, the data processing system can acquire the target fixed columns with corresponding numbers according to the numbers of the index items corresponding to the service data, when the service data are newly added with the data of a plurality of index items, the data processing system only needs to acquire a sufficient number of target fixed columns and add the target fixed columns into the table template, the target fixed columns and the original fixed columns in the table template form the fixed columns of the target table template together, the fixed columns of the target table template can be filled with all the service data, a user does not need to reestablish a new table template, and the operation time of the user is saved.
Drawings
FIG. 1 is a schematic flow chart of a data printing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another flow chart of a data printing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a data processing system according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another architecture of a data processing system in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of another embodiment of a data processing system.
Detailed Description
The embodiment of the application provides a data printing method, a data processing system and a computer storage medium, which are used for printing business data.
Referring to fig. 1, an embodiment of a data printing method according to the present application includes:
101. acquiring business data to be printed;
When the user needs to print the data, the user sends a printing instruction to the data processing system to instruct the data processing system to print the data. The data processing system acquires business data to be printed, wherein the business data corresponds to a plurality of index items, and the index items are arbitrary indexes, such as financial indexes including inventory cost, unit price or quantity of purchased goods, attendance indexes including employee attendance rate, employee absences days, delay times and the like, and arbitrary indexes except the financial indexes and the attendance indexes.
The data processing system may be an ERP system, a product data management system (PDM), a manufacturing data collection and status management system (Manufacturing Data Collection & status MANAGEMENT SYSTEM, MDC), or other systems capable of performing data processing.
102. Obtaining a form template;
when the data processing system receives a print instruction from a user, the data processing system obtains a form template, which may be used to print data, the form template comprising one or more fixed columns, wherein the fixed columns are conventional form columns in a form, each fixed column is used to fill business data corresponding to one index item, for example, one fixed column fills data corresponding to one index item, such as an "employee name", and another fixed column fills data corresponding to one index item, such as an "attendance days".
After receiving the printing instruction of the user, the data processing system can acquire the business data to be printed first and then acquire the form template, or can acquire the form template first and then acquire the business data to be printed.
103. Acquiring a target fixed column;
when the number of the fixed columns in the form template is smaller than the number of index items corresponding to the service data, the data processing system acquires the fixed columns, and in this embodiment, the fixed columns acquired by the data processing system are called target fixed columns.
The data processing system may acquire the target fixed column from a preset plug-in unit, or may acquire the target fixed column by creating a plurality of target fixed columns, which is not limited by the data processing system.
In this embodiment, if the service data includes data corresponding to n index entries, and m fixed columns already exist in the table template, the data processing system may calculate the number (n-m) of target fixed columns to be acquired, and acquire (n-m) target fixed columns, where n and m are both positive integers. The (n-m) target fixed columns and the original m fixed columns acquired by the data processing system can just fill the data corresponding to the n index items.
It will be appreciated that when the service data includes data corresponding to n index entries, the data processing system may also directly obtain at least n target fixed columns, without obtaining a corresponding number of target fixed columns after calculating the number of fixed columns missing in the table template. The number of the target fixed columns acquired by the data processing system is not limited, as long as the fixed columns of the form template formed by the target fixed columns and the original fixed columns can be filled with all the business data to be printed.
104. Adding the target fixed column into the form template to obtain a target form template;
After the data processing system acquires the target fixed columns, adding the target fixed columns into the table template, wherein the target fixed columns added into the table template and the original fixed columns in the table template form the fixed columns of the table template together, so that the target table template is obtained, and the number of the fixed columns of the target table template ensures that the business data to be printed can be completely filled into the target table template.
105. Filling the business data into a target form template to obtain a target printing form;
after the data processing system obtains the target form template, the business data to be printed is filled into the target form template, and the target printing form filled with the business data is obtained.
106. Printing the target printing form;
after the data processing system obtains the target printing form filled with the business data, the target printing form is printed, and the data printing task is completed.
The data processing system acquires business data to be printed, acquires a form template, and each fixed column in the form template is used for filling business data corresponding to one index item. When the number of the fixed columns in the table template is smaller than the number of the index items, that is, the number of the fixed columns in the table template is insufficient, part of business data cannot be filled, at this time, the data processing system acquires the target fixed columns, and adds the target fixed columns to the table template to obtain the target table template, wherein the number of the target fixed columns acquired by the data processing system ensures that the target table template can be filled with all business data. And the data processing system fills the business data into the target form template to obtain a target printing form, and prints the target printing form. In this embodiment, the data processing system may obtain a corresponding number of target fixed columns according to the number of index items corresponding to the service data, and when the service data is newly added with data of multiple index items, the data processing system only needs to obtain a sufficient number of target fixed columns and add the target fixed columns to the table template, where the target fixed columns and the original fixed columns in the table template together form a fixed column of the target table template, and the fixed column of the target table template can be filled with all the service data, so that a user does not need to reestablish a new table template, and operation time of the user is saved.
The data processing system of the embodiment of the application adds the target fixed column to the table template in a manner that the target fixed column is directly added to the table template before the original fixed column or after the original fixed column, or replaces the dynamic column generated by definition in the table template by the target fixed column. Referring to fig. 2, another embodiment of the data printing method in the embodiment of the present application includes:
201. acquiring business data to be printed;
202. Obtaining a form template;
The operations performed in steps 201 to 202 are similar to those performed in steps 101 to 102 in the embodiment shown in fig. 1, and will not be repeated here.
203. Defining a fixed column in the form template as a dynamic column;
after the data processing system obtains the form template, the fixed columns in the form template are defined as dynamic columns, wherein the dynamic columns can be expanded into a plurality of fixed columns.
The data processing system may define a fixed column as a dynamic column according to a definition request sent by a user, the data processing system receiving a definition request indicating that the fixed column is defined as a dynamic column, the data processing system determining the fixed column as a dynamic column that can be expanded in response to the definition request.
In this embodiment, the data processing system may not need to define a certain fixed column as a dynamic column according to a definition request sent by a user, but after the table template is acquired, define a certain fixed column as a dynamic column according to a preset definition rule, where the definition rule is used to indicate that a specific fixed column is defined as a dynamic column. For example, a definition rule may be preset to define a fixed column in the form template that is in a middle position as a form column, and the data processing system defines the fixed column in the middle position as a dynamic column according to the definition rule. The manner in which the data processing system defines a fixed column as a dynamic column is not particularly limited.
204. Acquiring an attribute value of a target fixed column;
In this embodiment, the data processing system may acquire the attribute value of the target fixed column from a preset plug-in unit, or may receive the attribute value of the target fixed column input by the user, and the specific acquisition mode is not limited. The attribute values of the target fixed columns acquired by the data processing system include, but are not limited to, the number of columns of the target fixed columns, index items corresponding to service data filled in the target fixed columns, and attribute values such as column width of the target fixed columns.
205. Rendering the dynamic column by using the attribute value of the target fixed column to replace the dynamic column with the target fixed column so as to obtain a target table template;
after the attribute value of the target fixed column is acquired, the data processing system renders the dynamic column by using the attribute value of the target fixed column, that is, if the column number of the target fixed column included by the attribute value is 4 columns, the data processing system replaces the dynamic column with the 4 columns of the fixed columns; if the attribute value further includes an index item corresponding to the business data filled in a specific target fixed column, where the index item is "employee" and the dynamic column is replaced by a plurality of target fixed columns, the data processing system determines that the specific target fixed column should be filled with the business data with the index item being "employee".
The data processing system replaces the dynamic column with a target fixed column, the target fixed column and the original fixed column in the form template form a fixed column of the target form template together, and the fixed column of the target form template can be filled with all business data to be printed.
206. Filling the business data into a target form template to obtain a target printing form;
207. printing the target printing form;
the operations performed in steps 206 to 207 are similar to those performed in steps 105 to 106 in the embodiment shown in fig. 1, and will not be repeated here.
In the embodiment of the present application, the manner in which the data processing system adds the target fixed column to the table template may be, but not limited to, replacing the dynamic column generated by definition in the table template with the target fixed column, or directly adding the target fixed column to the table template before the original fixed column or after the original fixed column is added to the table template.
Having described a data printing method in an embodiment of the present application, a data processing system in an embodiment of the present application is described below, referring to fig. 3, where an embodiment of the data processing system includes:
a first obtaining unit 301, configured to obtain service data to be printed, where the service data corresponds to a plurality of index items;
A second obtaining unit 302, configured to obtain a table template, where each fixed column in the table template is used to fill service data corresponding to one index item;
a third obtaining unit 303, configured to obtain a target fixed column when the number of fixed columns in the table template is less than the number of index items;
an adding unit 304, configured to add the target fixed column to the table template, to obtain a target table template;
A filling unit 305, configured to fill the business data into a target form template to obtain a target print form;
and a printing unit 306 for printing the target print form.
In this embodiment, the operations performed by the units in the data processing system are similar to those described in the embodiment shown in fig. 1, and will not be repeated here.
The first acquiring unit 301 acquires service data to be printed, and the second acquiring unit 302 acquires a table template, each fixed column in the table template being used to fill service data corresponding to one index item. When the number of the fixed columns in the table template is smaller than the number of the index items, that is, the number of the fixed columns in the table template is insufficient, so that part of the business data cannot be filled, at this time, the third obtaining unit 303 obtains the target fixed columns, and the adding unit 304 adds the target fixed columns to the table template, so as to obtain the target table template, wherein the number of the target fixed columns obtained by the third obtaining unit 303 ensures that the target table template can be filled with all the business data. The filling unit 305 fills the business data into the target form template to obtain a target print form, and the printing unit 306 prints the target print form. In this embodiment, the third obtaining unit 303 may obtain a corresponding number of target fixed columns according to the number of index items corresponding to the service data, and when the service data is newly added with the data of a plurality of index items, only the third obtaining unit 303 is required to obtain a sufficient number of target fixed columns and add the target fixed columns to the table template by the adding unit 304, the target fixed columns and the original fixed columns in the table template together form the fixed columns of the target table template, and the fixed columns of the target table template can be filled with all the service data, so that the user does not need to reestablish a new table template, and the operation time of the user is saved.
Referring to FIG. 4, another embodiment of a data processing system in accordance with an embodiment of the present application includes:
a first obtaining unit 401, configured to obtain service data to be printed, where the service data corresponds to a plurality of index items;
a second obtaining unit 402, configured to obtain a table template, where each fixed column in the table template is used to fill service data corresponding to one index item;
A third obtaining unit 403 for obtaining a target fixed column when the number of fixed columns in the table template is less than the number of index items;
an adding unit 404, configured to add the target fixed column to the table template to obtain a target table template;
A filling unit 405, configured to fill the service data into a target form template to obtain a target print form;
And a printing unit 406 for printing the target print form.
The data processing system in this embodiment further includes:
A definition unit 407 for defining a fixed column in the table template as a dynamic column;
the third obtaining unit 403 is specifically configured to obtain an attribute value of the target fixed column;
The adding unit 404 is specifically configured to render the dynamic column using the attribute value of the target fixed column to replace the dynamic column with the target fixed column.
In this embodiment, the defining unit 407 is specifically configured to receive a definition request sent by a user, where the definition request is used to define a fixed column in the table template as a dynamic column, and in response to the definition request, determine the fixed column in the table template as the dynamic column.
In this embodiment, the service data includes data corresponding to n index items, where n is a positive integer;
The third obtaining unit 403 is specifically configured to obtain (n-m) target fixed columns when m fixed columns exist in the table template, where m is a positive integer.
The data processing system of this embodiment may add the target fixed column to the table template either directly before adding the target fixed column to the original fixed column in the table template or after adding the target fixed column to the original fixed column, or replace the defined dynamic column in the table template with the target fixed column. In the process of replacing a defined generated dynamic column in a table template with a target fixed column, the operations performed by the units in the data processing system are similar to those described in the embodiment shown in fig. 2, and will not be repeated here.
Referring now to FIG. 5, a data processing system in an embodiment of the present application is described, and one embodiment of the data processing system in an embodiment of the present application includes:
The data processing system 500 may include one or more central processing units (central processing units, CPU) 501 and a memory 505, where the memory 505 stores one or more applications or data.
Wherein the memory 505 may be volatile storage or persistent storage. The program stored in memory 505 may include one or more modules, each of which may include a series of instruction operations in a data processing system. Still further, central processor 501 may be configured to communicate with memory 505 and execute a series of instruction operations in memory 505 on data processing system 500.
The data processing system 500 may also include one or more power supplies 502, one or more wired or wireless network interfaces 503, one or more input/output interfaces 504, and/or one or more operating systems, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The cpu 501 may perform the operations performed by the data processing system in the embodiments shown in fig. 1 to 2, and will not be described in detail herein.
The embodiment of the application also provides a computer storage medium, wherein one embodiment comprises: the computer storage medium has stored therein instructions which, when executed on a computer, cause the computer to perform the operations described in the embodiments of figures 1 to 2 as being performed by a data processing system.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random-access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Claims (8)
1. A data printing method, comprising:
acquiring business data to be printed, wherein the business data corresponds to a plurality of index items;
Acquiring a table template, wherein each fixed column in the table template is used for filling the business data corresponding to one index item;
when the number of the fixed columns in the table template is smaller than the number of the index items, acquiring target fixed columns;
The method comprises the steps that a fixed column in a table template is defined as a dynamic column, and an attribute value of the fixed column is obtained, wherein the attribute value comprises the column number of the fixed column, index items corresponding to business data filled in the fixed column and a column format of the fixed column;
rendering the dynamic column by using the attribute value of the target fixed column to replace the dynamic column with the target fixed column so as to obtain a target table template;
filling the business data into the target form template to obtain a target printing form;
And printing the target printing form.
2. The data printing method of claim 1 wherein said defining a fixed column in said form template as a dynamic column comprises:
receiving a definition request sent by a user, wherein the definition request is used for representing that a fixed column in the table template is defined as the dynamic column;
And responding to the definition request, and determining a fixed column in the table template as the dynamic column.
3. The data printing method according to claim 1, wherein the service data includes data corresponding to n index items, where n is a positive integer;
the acquiring the target fixed column includes:
when m fixed columns exist in the table template, obtaining (n-m) target fixed columns, wherein m is a positive integer.
4. A data processing system, comprising:
A first obtaining unit, configured to obtain service data to be printed, where the service data corresponds to a plurality of index items;
The second acquisition unit is used for acquiring a table template, and each fixed column in the table template is used for filling the business data corresponding to one index item;
A third obtaining unit, configured to obtain a target fixed column when the number of fixed columns in the table template is less than the number of index items;
The method comprises the steps that a fixed column in a table template is defined as a dynamic column, and an attribute value of the fixed column is obtained, wherein the attribute value comprises the column number of the fixed column, index items corresponding to business data filled in the fixed column and a column format of the fixed column;
The adding unit is used for rendering the dynamic column by using the attribute value of the target fixed column so as to replace the dynamic column with the target fixed column to obtain a target table template;
the filling unit is used for filling the business data into the target form template to obtain a target printing form;
And the printing unit is used for printing the target printing form.
5. The data processing system according to claim 4, further comprising a definition unit for defining a fixed column in the table template as a dynamic column, in particular for receiving a definition request sent by a user, the definition request being indicative of defining the fixed column in the table template as the dynamic column, and determining the fixed column in the table template as the dynamic column in response to the definition request.
6. The data processing system of claim 4, wherein the business data comprises data corresponding to n index items, wherein n is a positive integer;
the third obtaining unit is specifically configured to obtain (n-m) target fixed columns when m fixed columns exist in the table template, where m is a positive integer.
7. A data processing system, comprising:
a processor, a memory, a bus, and an input/output device;
The processor is connected with the memory and the input and output equipment;
the bus is respectively connected with the processor, the memory and the input and output equipment;
The input and output equipment is used for acquiring business data to be printed, the business data corresponds to a plurality of index items, a table template is acquired, each fixed column in the table template is used for filling the business data corresponding to one index item, and when the number of the fixed columns in the table template is less than the number of the index items, a target fixed column is acquired;
The method comprises the steps that a fixed column in a table template is defined as a dynamic column, and an attribute value of the fixed column is obtained, wherein the attribute value comprises the column number of the fixed column, index items corresponding to business data filled in the fixed column and a column format of the fixed column;
The processor is used for rendering the dynamic column by using the attribute value of the target fixed column so as to replace the dynamic column with the target fixed column to obtain a target table template, filling the business data into the target table template to obtain a target printing table, and printing the target printing table.
8. A computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911259916.8A CN111090975B (en) | 2019-12-10 | 2019-12-10 | Data printing method, data processing system and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911259916.8A CN111090975B (en) | 2019-12-10 | 2019-12-10 | Data printing method, data processing system and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111090975A CN111090975A (en) | 2020-05-01 |
CN111090975B true CN111090975B (en) | 2024-04-19 |
Family
ID=70396273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911259916.8A Active CN111090975B (en) | 2019-12-10 | 2019-12-10 | Data printing method, data processing system and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111090975B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426470A (en) * | 2015-11-16 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Table dynamic generation system and method |
CN105607880A (en) * | 2015-12-29 | 2016-05-25 | 南威软件股份有限公司 | Printing method and device for examined and approved documents |
CN107766313A (en) * | 2017-10-19 | 2018-03-06 | 平安科技(深圳)有限公司 | The introduction method and its terminal of a kind of data list |
CN108062210A (en) * | 2017-11-17 | 2018-05-22 | 中国银行股份有限公司 | A kind of method and system that layout is set |
CN110516218A (en) * | 2019-08-21 | 2019-11-29 | 深圳证券交易所 | Generation method, terminal and the computer readable storage medium of table |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7996759B2 (en) * | 2004-09-14 | 2011-08-09 | Oracle Internatonal Corporation | Data insertion from a database into a fixed electronic template form that supports overflow data |
US8488164B2 (en) * | 2010-08-13 | 2013-07-16 | Sap Ag | Mobile Printing solution |
US10216494B2 (en) * | 2016-12-03 | 2019-02-26 | Thomas STACHURA | Spreadsheet-based software application development |
-
2019
- 2019-12-10 CN CN201911259916.8A patent/CN111090975B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426470A (en) * | 2015-11-16 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Table dynamic generation system and method |
CN105607880A (en) * | 2015-12-29 | 2016-05-25 | 南威软件股份有限公司 | Printing method and device for examined and approved documents |
CN107766313A (en) * | 2017-10-19 | 2018-03-06 | 平安科技(深圳)有限公司 | The introduction method and its terminal of a kind of data list |
CN108062210A (en) * | 2017-11-17 | 2018-05-22 | 中国银行股份有限公司 | A kind of method and system that layout is set |
CN110516218A (en) * | 2019-08-21 | 2019-11-29 | 深圳证券交易所 | Generation method, terminal and the computer readable storage medium of table |
Also Published As
Publication number | Publication date |
---|---|
CN111090975A (en) | 2020-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110704519B (en) | Service bill conversion method and device, storage medium and computer equipment | |
CN111125560B (en) | Data visualization processing method, device and computer system | |
CN109597974B (en) | Report generation method and device | |
CN111667317A (en) | Service processing method, device and system | |
CN111414361A (en) | Label data storage method, device, equipment and readable storage medium | |
CN113361954A (en) | Attribution analysis method, attribution analysis device, attribution analysis equipment and storage medium | |
AU2016200559B2 (en) | Method and system for communicating product development information | |
CN106156040A (en) | multi-dimensional data management method and device | |
US7613799B2 (en) | Service evaluation method, system, and computer program product | |
CN112084199A (en) | Scene-based general parameter maintenance method and device | |
CN111090975B (en) | Data printing method, data processing system and computer storage medium | |
CN111767492B (en) | Picture loading method and device, computer equipment and storage medium | |
CN111310088B (en) | Page rendering method and device | |
CN114493378A (en) | Index acquisition method and device of industrial equipment and computer equipment | |
CN113434524A (en) | Data integration method and device, electronic equipment and storage medium | |
US9424243B1 (en) | Mechanism to support composite data models in HTML form | |
CN112988661B (en) | Balance table updating method and related equipment thereof | |
CN114201499B (en) | Data uploading method and device and computer equipment | |
CN116483927A (en) | Data synchronization method and related equipment | |
CN114218914B (en) | Service matching method and related device | |
CN110134843A (en) | A kind of generation method and device of file destination | |
JP6511749B2 (en) | INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING PROGRAM | |
CN115834323B (en) | Method and device for realizing system equipment monitoring based on SNMP protocol low code | |
CN111104784B (en) | Data integration method and related device | |
US20240134856A1 (en) | Method and System for Estimating the Cardinality of Information |
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 | ||
TG01 | Patent term adjustment |