CN111562893A - Reprinting method and device - Google Patents
Reprinting method and device Download PDFInfo
- Publication number
- CN111562893A CN111562893A CN202010362524.0A CN202010362524A CN111562893A CN 111562893 A CN111562893 A CN 111562893A CN 202010362524 A CN202010362524 A CN 202010362524A CN 111562893 A CN111562893 A CN 111562893A
- Authority
- CN
- China
- Prior art keywords
- transaction
- order
- printing
- printing template
- reprinting
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000007639 printing Methods 0.000 claims abstract description 173
- 230000008569 process Effects 0.000 claims description 13
- 238000004140 cleaning Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
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/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
-
- 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
-
- 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/1236—Connection management
-
- 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/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The reprinting method is used for reprinting the transaction voucher, the corresponding relation between the order type and the printing template is stored in advance, when the reprinting of the transaction voucher is required, the printing template is determined according to the order type corresponding to the order transaction number, then transaction data in a transaction order are filled to the position corresponding to a transaction data label in the printing template, a target transaction voucher is generated, and after the target transaction voucher is generated, a printing instruction for printing the target transaction voucher is directly sent to printing equipment, so that the printing equipment can print the target transaction voucher. Through the method and the device, the bank staff does not need to input the transaction data again, the working efficiency of the bank staff is improved, the business experience of the bank staff and the customers is improved, and the higher business requirement is further met.
Description
Technical Field
The application relates to the technical field of data processing, in particular to a reprinting method and a reprinting device, which are used for reprinting a transaction certificate.
Background
In a bank system, a bank counter front-end system is an important channel for a bank to handle business for a client, and the transaction coverage is wide. After the bank staff prints the transaction voucher, the customer can require to print the transaction voucher again under many conditions, such as a fee reimbursement voucher, a bond voucher and the like.
At present, when there is a need to print a transaction certificate again, a bank counter front-end system in the prior art needs to input transaction data again by bank staff each time, regenerate the transaction certificate and execute printing, so that reprinting of the transaction certificate can be realized.
Disclosure of Invention
The application provides a reprinting method and a reprinting device, and aims to solve the problems that in the prior art, when a requirement of reprinting a transaction certificate exists, a bank worker needs to input transaction data again, regenerate the transaction certificate and execute printing to realize reprinting of the transaction certificate, the work efficiency of the bank worker is reduced by the repeated work, the business experience of the bank worker and a customer is poor, and the higher business requirement cannot be met.
In order to achieve the above object, the present application provides the following technical solutions:
a reprinting method for reprinting of a transaction document, the method comprising:
receiving a reprinting request sent by terminal equipment, wherein the reprinting request at least comprises an order transaction number of a transaction order;
determining a printing template at least according to the order type corresponding to the order transaction number;
filling the transaction data in the transaction order to a position corresponding to the transaction data label in the printing module plate to generate a target transaction voucher;
and sending a printing instruction for printing the target transaction certificate so as to enable the printing device to print the target transaction certificate.
Preferably, the determining a printing template according to the order type corresponding to the order transaction number specifically includes:
matching the corresponding order type according to the order transaction number;
searching a printing template path corresponding to the order type from a preset data table, wherein the preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating and calling path information corresponding to a printing template, and the printing template comprises a transaction data label corresponding to the transaction data;
and determining a corresponding printing template according to the printing template path.
Preferably, the step of filling the transaction data in the transaction order to a position corresponding to the transaction data tag in the print module board to generate a target transaction voucher specifically includes:
determining corresponding transaction data according to the transaction order number in the transaction order;
and calling the corresponding printing template according to the printing template path, and filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
Preferably, the process of constructing the preset data table specifically includes:
in the process of generating a transaction voucher by a transaction order, acquiring an order transaction number and corresponding transaction data of the transaction order, wherein the order transaction number is used for identifying an order type corresponding to the transaction order;
establishing a corresponding relation between the order type and the corresponding printing template path in a database;
and constructing a preset data table according to the corresponding relation among the order type, the transaction data and the printing template path.
Preferably, the method further comprises:
and the database performs regular data cleaning on the preset data table according to a preset period.
A reprinting apparatus for reprinting of transaction documents, the apparatus comprising:
the first processing unit is used for receiving a reprinting request sent by the terminal equipment, wherein the reprinting request at least comprises an order transaction number of a transaction order;
the second processing unit is used for determining a printing template at least according to the order type corresponding to the order transaction number;
the third processing unit is used for filling the transaction data in the transaction order to the position corresponding to the transaction data label in the printing module plate to generate a target transaction voucher;
and the fourth processing unit is used for sending a printing instruction for printing the target transaction certificate so as to enable the printing equipment to print the target transaction certificate.
Preferably, the second processing unit is specifically configured to:
matching the corresponding order type according to the order transaction number;
searching a printing template path corresponding to the order type from a preset data table, wherein the preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating and calling path information corresponding to a printing template, and the printing template comprises a transaction data label corresponding to the transaction data;
and determining a corresponding printing template according to the printing template path.
Preferably, the third processing unit is specifically configured to:
determining corresponding transaction data according to the transaction order number in the transaction order;
and calling the corresponding printing template according to the printing template path, and filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
A storage medium, characterized in that the storage medium comprises a stored program, wherein, when the program runs, a device on which the storage medium is located is controlled to execute the reprinting method as described above.
An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the reprint method as described above.
The method is used for reprinting the transaction voucher, the corresponding relation between the order type and the printing template is stored in advance, when the reprinting of the transaction voucher is required, the printing template is determined according to the order type corresponding to the order transaction number, then transaction data in a transaction order are filled to the position corresponding to a transaction data label in the printing template, a target transaction voucher is generated, and after the target transaction voucher is generated, a printing instruction for printing the target transaction voucher is directly sent to printing equipment, so that the printing equipment can print the target transaction voucher.
According to the method and the device, the printing template and the corresponding order data are directly determined according to the order type corresponding to the order transaction number, then the order data are filled into the position corresponding to the transaction data label in the printing template, the target transaction voucher can be regenerated, the transaction voucher can be printed again, the transaction data do not need to be input again by bank staff, the working efficiency of the bank staff is improved, the business experience of the bank staff and customers is improved, and the higher business requirement is met.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a front-end system of a bank counter according to an embodiment of the present application;
FIG. 2 is a flowchart of a reprinting method according to an embodiment of the present application;
fig. 3 is a flowchart of an embodiment of determining a print template according to an order type corresponding to the order transaction number according to the present application;
FIG. 4 is a flowchart of an embodiment of a process for building a default data table according to the present disclosure;
fig. 5 is a flowchart of an embodiment of the present application, illustrating transaction data in the transaction order is filled to a position corresponding to a transaction data tag in the print module board to generate a target transaction certificate;
fig. 6 is a schematic structural diagram of a reprinting device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The application provides a reprinting method and a reprinting device, which are applied to reprinting of a transaction certificate in a bank counter front-end system of an application scene shown in figure 1, wherein the bank counter front-end system comprises: the terminal device 10, the transaction voucher reprinting system 20 and the printing device 30, wherein the terminal device 10 sends a reprinting request to the transaction voucher reprinting system 20, the reprinting request at least comprises an order transaction number of a transaction order, when the transaction voucher reprinting system 20 receives the reprinting request sent by the terminal device 10, a printing template is determined at least according to an order type corresponding to the order transaction number, transaction data in the transaction order are filled to a position corresponding to a transaction data tag in the printing template, and a target transaction voucher is generated; finally, a print instruction for printing the target transaction voucher is sent to the printing device 30, so that the printing device 30 prints the target transaction voucher. According to the reprinting method and the reprinting device, bank workers only need to execute one transaction, when the transaction certificate needs to be printed again subsequently, the reprinting is called only by using the shortcut key, and the transaction needing to be printed again is selected to be printed, so that the working efficiency of the bank workers is improved, and the business experience of the bank workers and customers is improved.
The invention of the present application aims to: how to solve the problem that in the prior art, when the requirement of reprinting the transaction certificate exists, the bank staff needs to input the transaction data again, regenerate the transaction certificate and execute printing to realize reprinting of the transaction certificate, and the repeated work reduces the work efficiency of the bank staff, so that the business experience of the bank staff and the customers is poor, and the higher business requirement cannot be met.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 2, an embodiment of the present application provides a flow chart of a reprinting method for reprinting a transaction certificate, where the method specifically includes the following steps:
s201: and receiving a reprinting request sent by the terminal equipment, wherein the reprinting request at least comprises an order transaction number of a transaction order.
S202: and determining a printing template at least according to the order type corresponding to the order transaction number.
As shown in fig. 1, the terminal device 10 sends a reprinting request including at least an order transaction number of a transaction order to the transaction voucher reprinting system 20, and the transaction voucher reprinting system 20 executes step S202 when receiving the reprinting request sent by the terminal device 10: and determining a printing template according to the order type corresponding to the order transaction number.
It should be noted that the reprint request at least includes the order transaction number of the transaction order, and may also include the transaction time, the transaction name, the customer name, and the like of the transaction order. Likewise, the corresponding print template may be determined based on the trade time, trade name, customer name, etc. of the trade order.
As shown in fig. 3, taking an example that the reprint request at least includes an order transaction number of a transaction order, specifically explaining that the determining of the print template according to the order type corresponding to the order transaction number specifically includes the following steps:
s301: and matching the corresponding order type according to the order transaction number.
S302: and searching a printing template path corresponding to the order type from a preset data table.
The preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating the path information corresponding to the calling printing template, and the printing template comprises a transaction data label corresponding to the transaction data.
S303: and determining a corresponding printing template according to the printing template path.
It should be noted that, because the memory occupied by the printing template is relatively large, in the embodiment of the present application, the printing template is stored in the local database, and the corresponding printing template can be directly called by storing the corresponding printing template path in the preset data table.
In the embodiment of the application, the preset data table is stored in the database in the process of generating the transaction voucher for the first time in the transaction order.
As shown in fig. 4, the process of constructing the preset data table may specifically include the following steps:
s401: in the process of generating a transaction voucher by a transaction order, an order transaction number of the transaction order and corresponding transaction data are obtained, wherein the order transaction number is used for identifying an order type corresponding to the transaction order.
S402: and creating a corresponding relation between the order type and the corresponding printing template path in a database.
S403: and constructing a preset data table according to the corresponding relation among the order type, the transaction data and the printing template path.
It should be noted that, a reprint switch may be set on the front end system of the bank counter, that is: according to the practical situation, the reprint switch of the transaction orders which need to be printed frequently can be set to be turned on, and the reprint switch of the transaction orders which do not need to be printed frequently can be set to be turned off, so that the reprint mechanism is prevented from being abused.
When a bank worker executes first transaction printing, if a transaction order reprint switch is turned on, a printing template, order data and the like are stored in a database, a data strategy for cleaning the order is set in the database regularly, reprint data can be set to be stored for one or two weeks according to actual requirements, and the stored data in the set period can be reprinted. A regular data cleaning strategy is set, and the purpose is mainly to prevent the query efficiency from being reduced due to the fact that the data volume in the database is too large.
S203: and filling the transaction data in the transaction order to the position corresponding to the transaction data label in the printing module plate to generate a target transaction voucher.
As shown in fig. 5, the above-mentioned filling the transaction data in the transaction order to the position corresponding to the transaction data tag in the print module board to generate the target transaction voucher specifically includes the following steps:
s501: and determining corresponding transaction data according to the transaction order number in the transaction order.
S501: and calling the corresponding printing template according to the printing template path, and filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
In the embodiment of the application, because the transaction data corresponding to the transaction order needing to be reprinted is already stored in the database, when a reprinted transaction certificate is needed, the corresponding transaction data is determined only according to the transaction order number in the transaction order, and the transaction data is filled to the position corresponding to the transaction data label in the printing module board according to the determined printing template, so as to generate a target transaction certificate, which is the transaction certificate to be printed.
S204: and sending a printing instruction for printing the target transaction certificate so as to enable the printing device to print the target transaction certificate.
After the target transaction voucher is generated, the transaction voucher reprinting system 20 sends a printing instruction for printing the target transaction voucher to the printing device 30, so that the printing device 30 prints the target transaction voucher to realize reprinting of the transaction voucher.
The reprinting method is used for reprinting the transaction voucher, the method stores the corresponding relation between the order type and the printing template in advance, when the reprinting of the transaction voucher is required, the printing template is determined according to the order type corresponding to the order transaction number, then the transaction data in the transaction order is filled to the position corresponding to the transaction data label in the printing template, the target transaction voucher is generated, and after the target transaction voucher is generated, a printing instruction for printing the target transaction voucher is directly sent to printing equipment so that the printing equipment can print the target transaction voucher.
According to the embodiment of the application, the printing template and the corresponding order data are directly determined according to the order type corresponding to the order transaction number, then the order data are filled to the position corresponding to the transaction data label in the printing template, the target transaction voucher can be regenerated, and then the transaction voucher is printed again.
Referring to fig. 6, based on the reprinting method disclosed in the above embodiment, the present embodiment correspondingly discloses a reprinting apparatus for reprinting a transaction certificate, and specifically, the apparatus includes: a first processing unit 601, a second processing unit 602, a third processing unit 603, and a fourth processing unit 604, wherein:
the first processing unit 601 is configured to receive a reprinting request sent by a terminal device, where the reprinting request at least includes an order transaction number of a transaction order.
The second processing unit 602 is configured to determine a print template according to at least the order type corresponding to the order transaction number.
A third processing unit 603, configured to fill the transaction data in the transaction order to a position corresponding to the transaction data tag in the print module board, so as to generate a target transaction credential.
A fourth processing unit 604, configured to send a print instruction for printing the target transaction certificate, so that the printing device prints the target transaction certificate.
Preferably, the second processing unit 602 is specifically configured to:
and matching the corresponding order type according to the order transaction number.
Searching a printing template path corresponding to the order type from a preset data table, wherein the preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating and calling path information corresponding to the printing template, and the printing template comprises a transaction data label corresponding to the transaction data.
And determining a corresponding printing template according to the printing template path.
Preferably, the third processing unit 603 is specifically configured to:
and determining corresponding transaction data according to the transaction order number in the transaction order.
And filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
The reprint device that this application embodiment provided for transaction voucher reprints, order type through order transaction number corresponds directly confirms printing template and the order data that corresponds, then fill order data to the position that the transaction data label in the printing template corresponds, can regenerate the target transaction voucher, and then realize reprinting of transaction voucher, need not again by bank staff input transaction data once more through this application, bank staff's work efficiency has been improved, the business experience of bank staff and customer has been promoted, and then higher business demand is satisfied.
The reprinting device comprises a processor and a memory, wherein the first processing unit, the second processing unit, the third processing unit, the fourth processing unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set with one or more than one, the printing template and the corresponding order data are directly determined according to the order type corresponding to the order transaction number, then the order data are filled to the position corresponding to the transaction data label in the printing template, the target transaction voucher can be regenerated, and then the transaction voucher is printed again.
The embodiment of the present application further provides a bank counter front-end system, whose structure can be shown in fig. 1, in which a terminal device 10, a transaction certificate reprint system 20, and a printing device 30 are provided, where:
the terminal device 10 is configured to send a reprint request to the transaction document reprint system 20, the reprint request including at least an order transaction number of the transaction order.
The transaction voucher reprinting system 20 is configured to receive a reprinting request sent by the terminal device 10, determine a print template according to at least an order type corresponding to an order transaction number when the reprinting request sent by the terminal device 10 is received, fill transaction data in a transaction order to a position corresponding to a transaction data tag in the print template, and generate a target transaction voucher; and sends a print instruction to print the target transaction certificate to the printing device 30.
The printing device 30 is used for receiving a printing instruction for printing the target transaction certificate sent by the transaction certificate reprinting system 20, and when the printing device 30 receives the printing instruction for printing the target transaction certificate sent by the transaction certificate reprinting system 20, the printing device 30 is used for printing the target transaction certificate.
The embodiment of the application provides a bank counter front-end system, which is used for reprinting a transaction certificate, directly determining a printing template and corresponding order data according to an order type corresponding to an order transaction number, then filling the order data into a position corresponding to a transaction data label in the printing template, so that a target transaction certificate can be regenerated, and reprinting of the transaction certificate is realized.
An embodiment of the present application provides a storage medium on which a program is stored, the program implementing the reprinting method when executed by a processor.
The embodiment of the application provides a processor, wherein the processor is used for running a program, and the reprinting method is executed when the program runs.
An embodiment of the present application provides an electronic device, as shown in fig. 7, the electronic device 70 includes at least one processor 701, and at least one memory 702 and a bus 703, which are connected to the processor; the processor 701 and the memory 702 complete communication with each other through the bus 703; the processor 701 is configured to call the program instructions in the memory 702 to execute the reprinting method described above.
The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
receiving a reprinting request sent by terminal equipment, wherein the reprinting request at least comprises an order transaction number of a transaction order;
determining a printing template at least according to the order type corresponding to the order transaction number;
filling the transaction data in the transaction order to a position corresponding to the transaction data label in the printing module plate to generate a target transaction voucher;
and sending a printing instruction for printing the target transaction certificate so as to enable the printing device to print the target transaction certificate.
Preferably, the determining a printing template according to the order type corresponding to the order transaction number specifically includes:
matching the corresponding order type according to the order transaction number;
searching a printing template path corresponding to the order type from a preset data table, wherein the preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating and calling path information corresponding to a printing template, and the printing template comprises a transaction data label corresponding to the transaction data;
and determining a corresponding printing template according to the printing template path.
Preferably, the step of filling the transaction data in the transaction order to a position corresponding to the transaction data tag in the print module board to generate a target transaction voucher specifically includes:
determining corresponding transaction data according to the transaction order number in the transaction order;
and calling the corresponding printing template according to the printing template path, and filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
Preferably, the process of constructing the preset data table specifically includes:
in the process of generating a transaction voucher by a transaction order, acquiring an order transaction number and corresponding transaction data of the transaction order, wherein the order transaction number is used for identifying an order type corresponding to the transaction order;
establishing a corresponding relation between the order type and the corresponding printing template path in a database;
and constructing a preset data table according to the corresponding relation among the order type, the transaction data and the printing template path.
Preferably, the method further comprises:
and the database performs regular data cleaning on the preset data table according to a preset period.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A method of reprinting a transaction document, the method comprising:
receiving a reprinting request sent by terminal equipment, wherein the reprinting request at least comprises an order transaction number of a transaction order;
determining a printing template at least according to the order type corresponding to the order transaction number;
filling the transaction data in the transaction order to a position corresponding to the transaction data label in the printing module plate to generate a target transaction voucher;
and sending a printing instruction for printing the target transaction certificate so as to enable the printing device to print the target transaction certificate.
2. The method according to claim 1, wherein the determining a print template according to the order type corresponding to the order transaction number specifically comprises:
matching the corresponding order type according to the order transaction number;
searching a printing template path corresponding to the order type from a preset data table, wherein the preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating and calling path information corresponding to a printing template, and the printing template comprises a transaction data label corresponding to the transaction data;
and determining a corresponding printing template according to the printing template path.
3. The method according to claim 2, wherein the step of filling the transaction data in the transaction order to a position corresponding to the transaction data tag in the print module board to generate a target transaction voucher comprises:
determining corresponding transaction data according to the transaction order number in the transaction order;
and calling the corresponding printing template according to the printing template path, and filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
4. The method according to claim 2, wherein the process of constructing the preset data table specifically comprises:
in the process of generating a transaction voucher by a transaction order, acquiring an order transaction number and corresponding transaction data of the transaction order, wherein the order transaction number is used for identifying an order type corresponding to the transaction order;
establishing a corresponding relation between the order type and the corresponding printing template path in a database;
and constructing a preset data table according to the corresponding relation among the order type, the transaction data and the printing template path.
5. The method of claim 4, further comprising:
and the database performs regular data cleaning on the preset data table according to a preset period.
6. A reprinting apparatus for reprinting of transaction documents, the apparatus comprising:
the first processing unit is used for receiving a reprinting request sent by the terminal equipment, wherein the reprinting request at least comprises an order transaction number of a transaction order;
the second processing unit is used for determining a printing template at least according to the order type corresponding to the order transaction number;
the third processing unit is used for filling the transaction data in the transaction order to the position corresponding to the transaction data label in the printing module plate to generate a target transaction voucher;
and the fourth processing unit is used for sending a printing instruction for printing the target transaction certificate so as to enable the printing equipment to print the target transaction certificate.
7. The apparatus according to claim 6, wherein the second processing unit is specifically configured to:
matching the corresponding order type according to the order transaction number;
searching a printing template path corresponding to the order type from a preset data table, wherein the preset data table stores the corresponding relation among the order type, the transaction data and the printing template path, the printing template path is used for indicating and calling path information corresponding to a printing template, and the printing template comprises a transaction data label corresponding to the transaction data;
and determining a corresponding printing template according to the printing template path.
8. The apparatus according to claim 7, wherein the third processing unit is specifically configured to:
determining corresponding transaction data according to the transaction order number in the transaction order;
and calling the corresponding printing template according to the printing template path, and filling the transaction data to the position corresponding to the transaction data label in the printing module board to generate a target transaction certificate.
9. A storage medium comprising a stored program, wherein a device on which the storage medium is located is controlled to perform a reprinting method according to any one of claims 1 to 5 when the program is run.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete mutual communication through the bus; the processor is configured to invoke program instructions in the memory to perform the reprinting method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010362524.0A CN111562893A (en) | 2020-04-30 | 2020-04-30 | Reprinting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010362524.0A CN111562893A (en) | 2020-04-30 | 2020-04-30 | Reprinting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111562893A true CN111562893A (en) | 2020-08-21 |
Family
ID=72070782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010362524.0A Pending CN111562893A (en) | 2020-04-30 | 2020-04-30 | Reprinting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111562893A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112149764A (en) * | 2020-08-28 | 2020-12-29 | 青岛海尔空调器有限总公司 | Printing method of label printing system and label printing system |
CN112784561A (en) * | 2021-01-25 | 2021-05-11 | 神州数码融信云技术服务有限公司 | Business transaction certificate printing method and system |
CN114579066A (en) * | 2022-03-08 | 2022-06-03 | 北京商联在线科技有限公司 | Processing method for printing on-line certificate based on user data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7580892B1 (en) * | 2001-10-09 | 2009-08-25 | Diebold, Incorporated | Automated teller machine printer system and method |
CN101966783A (en) * | 2009-07-27 | 2011-02-09 | 中兴通讯股份有限公司 | Transaction evidence printing method and system |
CN105631738A (en) * | 2015-12-30 | 2016-06-01 | 中国建设银行股份有限公司 | Standard inputting and storing system for accountant document template |
CN106095347A (en) * | 2016-06-07 | 2016-11-09 | 中国建设银行股份有限公司 | System and method beaten again by a kind of voucher |
CN108062210A (en) * | 2017-11-17 | 2018-05-22 | 中国银行股份有限公司 | A kind of method and system that layout is set |
-
2020
- 2020-04-30 CN CN202010362524.0A patent/CN111562893A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7580892B1 (en) * | 2001-10-09 | 2009-08-25 | Diebold, Incorporated | Automated teller machine printer system and method |
CN101966783A (en) * | 2009-07-27 | 2011-02-09 | 中兴通讯股份有限公司 | Transaction evidence printing method and system |
CN105631738A (en) * | 2015-12-30 | 2016-06-01 | 中国建设银行股份有限公司 | Standard inputting and storing system for accountant document template |
CN106095347A (en) * | 2016-06-07 | 2016-11-09 | 中国建设银行股份有限公司 | System and method beaten again by a kind of voucher |
CN108062210A (en) * | 2017-11-17 | 2018-05-22 | 中国银行股份有限公司 | A kind of method and system that layout is set |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112149764A (en) * | 2020-08-28 | 2020-12-29 | 青岛海尔空调器有限总公司 | Printing method of label printing system and label printing system |
CN112784561A (en) * | 2021-01-25 | 2021-05-11 | 神州数码融信云技术服务有限公司 | Business transaction certificate printing method and system |
CN114579066A (en) * | 2022-03-08 | 2022-06-03 | 北京商联在线科技有限公司 | Processing method for printing on-line certificate based on user data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111562893A (en) | Reprinting method and device | |
CN109801051B (en) | Resource transfer method, system, server and computer readable storage medium | |
CN109857404B (en) | SDK interface packaging method and device, storage medium and electronic equipment | |
CN109670879A (en) | A kind of distribution billing method and system | |
CN107276970B (en) | Unbinding and binding method and device | |
US11372549B2 (en) | Reclaiming free space in a storage system | |
CN113239400A (en) | Asset management method, device and system and electronic equipment | |
CN112346717A (en) | Micro service system creating method, device, equipment, medium and micro service system | |
CN108924185A (en) | Interface creation method and device | |
CN111813418A (en) | Distributed link tracking method, device, computer equipment and storage medium | |
CN111444216A (en) | Data block deleting method based on centralized block chain type account book | |
KR20190094096A (en) | Document information input methods, devices, servers, and storage media | |
CN111179062A (en) | Voucher additional printing method and device | |
CN111080301A (en) | Data processing method, terminal, electronic device and computer storage medium | |
CN115470139A (en) | Interface testing method and related equipment | |
CN111639936B (en) | Transaction information acquisition method and device, electronic equipment and readable storage medium | |
CN116095074A (en) | Resource allocation method, device, related equipment and storage medium | |
CN106845926A (en) | A kind of Third-party payment supervisory systems distributed data method for stream processing and system | |
CN107610383A (en) | Make out an invoice client, invoice information of one kind safeguards end and invoice issuing method | |
CN114448776A (en) | Link tracking method and device | |
CN113724051A (en) | Information processing method, device, system, equipment and storage medium | |
CN112101810A (en) | Risk event control method, device and system | |
CN113741912A (en) | Model management system, method, device and equipment | |
CN106844056B (en) | Hadoop big data platform multi-tenant job management method and system | |
CN111191917A (en) | Authorization validity verification method, system, electronic equipment and storage medium |
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 |