Method and device for generating reimbursement form, storage medium and electronic equipment
By screening and counting data in the power grid equipment maintenance database, and using the RPA robot automation process to generate reimbursement forms, it solves the inefficiency problem caused by repeated form filling processes by staff and improves the efficiency and accuracy of reimbursement form generation.
Patent Information
- Application Number
- CN202410830667.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-03
AI Technical Summary
In the process of generating reimbursement forms in the existing technology, staff need to perform repeated and identical form filling processes, resulting in low work efficiency, and the manual processing of form data is cumbersome, resulting in efficiency and accuracy issues that have not been effectively solved.
By filtering the data to be processed within the preset time range in the target database, reading and counting the reimbursement information line by line, filling the form according to the target format, generating the reimbursement form, and using the RPA robot automation process to filter and process the data.
It has realized the automatic generation of reimbursement forms, avoided manual repeated processing, improved the work efficiency of staff, reduced the time of form production and improved the accuracy of tabulation.
Smart Images

Figure CN118586371A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular, to a method, device, storage medium and electronic device for generating a reimbursement form. Background Art
[0002] In the grassroots work of the power grid, workers need to go to the substation to perform tasks, and they will inevitably come into contact with electrical equipment in the process. Some electrical equipment contains special gases (for example, sulfur hexafluoride (SF6) gas). Some special gases are normally harmless to humans, but their decomposition products are toxic. When the concentration of special gases is too high, it will cause harm to the workers' bodies. For grassroots power grid workers working in substations, a certain amount of reimbursement subsidy will be given.
[0003] In the prior art, the generation of a special gas reimbursement subsidy amount form usually relies on staff to manually log in to the power grid management platform, perform data query and download related completed work plan forms and permitted work tickets and other forms according to the listed screening conditions, and then the staff manually calculates and verifies the form data to form a special gas reimbursement subsidy amount form. However, the existing processing method requires screening and processing of the form data. Due to the large amount of form data, large workload, and fixed and repetitive processing flow, it wastes manpower and duplicated labor, greatly reduces the work efficiency of staff, and leads to low accuracy in the tabulation of form data.
[0004] In the process of generating reimbursement forms in related technologies, there is a problem that the staff's work efficiency is low because the staff need to perform repetitive and identical form filling processes. No effective solution has been proposed yet. Summary of the invention
[0005] The main purpose of this application is to provide a method, device, storage medium and electronic device for generating a reimbursement form, so as to solve the problem of low work efficiency of staff in the process of generating reimbursement forms in the related art because staff need to perform repetitive and identical form filling processes.
[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for generating a reimbursement form is provided, the method comprising: screening the data to be processed in a target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment; reading each row of the data to be processed line by line to obtain a data row set; counting the reimbursement information for each day within the preset time range according to each row of data in the data row set to obtain a target data set; filling the target data set into a form according to a target format to obtain a target reimbursement form.
[0007] Furthermore, the target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
[0008] Furthermore, the data to be processed is filtered in the target database according to a preset time range, including: filtering the first form according to the preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; filtering the second form according to the preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; determining the data to be processed based on the first data and the second data.
[0009] Furthermore, based on each row of data in the data row set, the reimbursement information of each day within the preset time range is counted to obtain a target data set, including: for each row of first form data in the data row set, N working dates are determined based on the start time and end time in the first form data, wherein N is a positive integer, and the first form data is the data belonging to the first form in the data row set; the work object information of the N working dates is determined based on the information of the work leader and the work members in the first form data; the work reason information of the N working dates is determined based on the work category in the first form data; the going-out location information of the N working dates is determined based on the work location in the first form data; the target data set is determined based on the work object information of the N working dates, the work reason information of the N working dates, and the going-out location information of the N working dates.
[0010] Furthermore, based on each row of data in the data row set, statistics are collected on the reimbursement information of each day within the preset time range to obtain a target data set, including: for each row of second form data in the data row set, determining the working date in the second form data, wherein the second form data is the data belonging to the second form in the data row set; determining the working object information of the working date based on the information of the work permission object in the second form data; determining the work reason information of the working date based on the work permit certificate in the second form data; determining the going-out location information of the working date based on the substation information in the second form data; determining the target data set based on the work object information of each working date, the work reason information of each target working date and the going-out location information of each working date.
[0011] Furthermore, the target data set is filled into a form according to a target format to obtain a target reimbursement form, including: for each row of target data in the target data set, determining the number of work objects according to the work object information of the target data; determining the number of people information of the target data according to the number of work objects, and configuring the reimbursement standard information of the target data to a second preset value; calculating the daily reimbursement amount of the target data according to the number of people information of the target data and the reimbursement standard information of the target data; generating the target reimbursement form according to the work object information of each row of target data in the target data set, the work reason information of each row of target data and the outing location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
[0012] Furthermore, before filling the target data set into the form according to the target format to obtain the target reimbursement form, the method also includes: respectively configuring the data types of the work object information, the work reason information and the outing location information as set types; respectively configuring the data types of the work date and the number of people information as integer types; respectively configuring the data types of the reimbursement standard information and the daily reimbursement amount as floating point types.
[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a device for generating a reimbursement form is provided, and the device includes: a screening unit, used to screen the data to be processed in the target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment; a reading unit, used to read each row of the data to be processed line by line to obtain a data row set; a statistical unit, used to count the reimbursement information of each day within the preset time range according to each row of data in the data row set to obtain a target data set; and a filling unit, used to fill the target data set into the form according to the target format to obtain a target reimbursement form.
[0014] Furthermore, the target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
[0015] Furthermore, the screening unit includes: a first screening sub-unit, used to screen the first form according to the preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; a second screening sub-unit, used to screen the second form according to the preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; a first determination sub-unit, used to determine the data to be processed based on the first data and the second data.
[0016] Furthermore, the statistical unit includes: a second determination subunit, used to determine N working dates for each row of first form data in the data row set according to the start time and end time in the first form data, wherein N is a positive integer, and the first form data is the data belonging to the first form in the data row set; a third determination subunit, used to determine the work object information of the N working dates according to the information of the work leader and the work members in the first form data; a fourth determination subunit, used to determine the work reason information of the N working dates according to the work category in the first form data; a fifth determination subunit, used to determine the going-out location information of the N working dates according to the work location in the first form data; a sixth determination subunit, used to determine the target data set based on the work object information of the N working dates, the work reason information of the N working dates and the going-out location information of the N working dates.
[0017] Further, the statistical unit includes: a seventh determination subunit, used to determine the working date in the second form data for each row of second form data in the data row set, wherein the second form data is the data belonging to the second form in the data row set; an eighth determination subunit, used to determine the work object information of the working date based on the information of the work permission object in the second form data; a ninth determination subunit, used to determine the work reason information of the working date based on the work permit certificate in the second form data; a tenth determination subunit, used to determine the going-out location information of the working date based on the substation information in the second form data; an eleventh determination subunit, used to determine the target data set based on the work object information of each working date, the work reason information of each target working date and the going-out location information of each working date.
[0018] Furthermore, the filling unit includes: a twelfth determination subunit, used to determine the number of work objects for each row of target data in the target data set according to the work object information of the target data; a thirteenth determination subunit, used to determine the number of people information of the target data according to the number of work objects, and configure the reimbursement standard information of the target data to a second preset value; a calculation subunit, used to calculate the daily reimbursement amount of the target data based on the number of people information of the target data and the reimbursement standard information of the target data; a generation subunit, used to generate the target reimbursement form based on the work object information of each row of target data in the target data set, the work reason information of each row of target data and the outing location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
[0019] Furthermore, the device also includes: a first configuration unit, used to configure the data types of the work object information, the work reason information and the outing location information as set types before filling the target data set into the form according to the target format to obtain the target reimbursement form; a second configuration unit, used to configure the data types of the working date and the number of people information as integer types; and a third configuration unit, used to configure the data types of the reimbursement standard information and the daily reimbursement amount as floating point types.
[0020] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the method for generating a reimbursement form described in any one of the above items, and which, when executed by a processor, implements the steps of the method for generating a reimbursement form described in each embodiment of the present application.
[0021] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes stored computer instructions, wherein when the computer instructions are executed by a processor, any one of the above-mentioned methods for generating a reimbursement form is implemented.
[0022] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an electronic device is provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the method for generating a reimbursement form described in any one of the above-mentioned items.
[0023] Through this application, the following steps are adopted: filtering the data to be processed in the target database according to the preset time range, wherein the target database is a database storing the maintenance information of the power grid equipment; reading each line of the data to be processed line by line to obtain a data row set; counting the reimbursement information of each day within the preset time range according to each line of data in the data row set to obtain a target data set; filling the target data set into the form according to the target format to obtain a target reimbursement form, which solves the problem of low work efficiency of the staff in the process of generating reimbursement forms in the related technology because the staff need to perform repeated and identical form filling processes. By screening, downloading and processing the completed work plan forms and the permitted work tickets to be processed, the reimbursement amount information of the staff can be automatically counted according to the preset time period, thereby generating a reimbursement form, avoiding the problem of low efficiency of form making and low tabulation accuracy caused by the manual processing of a large number of forms and repeated processing processes, thereby achieving the effect of improving the work efficiency of the staff. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0025] Figure 1 is a flow chart of a method for generating a reimbursement form according to the first embodiment of the present application;
[0026] Figure 2 This is a schematic diagram of an optional method for generating a reimbursement form according to the first embodiment of the present application. Figure 1 ;
[0027] Figure 3 This is a schematic diagram of an optional method for generating a reimbursement form according to the first embodiment of the present application. Figure 2 ;
[0028] Figure 4 This is a schematic diagram of an optional method for generating a reimbursement form according to the first embodiment of the present application. Figure 3 ;
[0029] Figure 5 This is a schematic diagram of an optional method for generating a reimbursement form according to the first embodiment of the present application. Figure 4 ;
[0030] Figure 6 is a schematic diagram of a device for generating a reimbursement form according to Embodiment 2 of the present application;
[0031] Figure 7 It is a schematic diagram of an electronic device for generating a reimbursement form according to the fifth embodiment of the present application. DETAILED DESCRIPTION
[0032] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0033] It should be noted that the user information (including but not limited to user device information, user personal information, collected data, used data, generated data, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, collected information, used information, generated information, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of relevant countries and regions, necessary confidentiality measures are taken, and public order and good morals are not violated, and corresponding operation portals are provided for users to choose to authorize or refuse. For example, an interface is set between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0034] It should be noted that this application provides users with corresponding operation entrances for them to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.
[0035] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] Embodiment 1
[0038] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for generating a reimbursement form according to the first embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0039] Step S101 , filtering data to be processed in a target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment.
[0040] In the grassroots work of the power grid, since the staff need to frequently go to the substation site to perform tasks, they will inevitably come into contact with electrical equipment. Some of these electrical equipment contain special gases (for example, SF6 gas is normally harmless to humans, but its decomposition products are toxic, and excessive SF6 concentration can also cause harm to the staff's body). Therefore, it is necessary to provide certain subsidies to the staff working in the substation.
[0041] In the first embodiment of the present invention, in order to generate a subsidy reimbursement form for staff operating and maintaining power grid substation equipment (i.e., the target reimbursement form hereinafter), it is necessary to filter the target database storing the maintenance information of the power grid equipment, and filter the form information related to the staff maintaining the substation within a preset time range (for example, 1 month, 3 months, etc., which is not specifically limited in the first embodiment of the present invention) to obtain the above-mentioned data to be processed, and then perform statistical analysis based on the data to be processed to generate the target reimbursement form.
[0042] In this first embodiment, in order to improve the efficiency of generating the target reimbursement form, Robotic Process Automation (hereinafter referred to as RPA) can be used to screen and process data. RPA robots are an application that can imitate the manual operation of end users on computers through RPA programming, providing another way to automate the manual operation process of end users. Using RPA robots, you can automatically log in to the power grid platform to download forms and perform data screening and processing.
[0043] Step S102, reading each row of the data to be processed row by row to obtain a data row set.
[0044] In the first embodiment, in order to generate the target reimbursement form, it is necessary to read each line of data in the data to be processed line by line to form a data line set, so that each line of data can be processed to generate the target reimbursement form. The data to be processed may include multiple form information related to the maintenance of the substation by the staff.
[0045] Step S103, collecting statistics of reimbursement information for each day within a preset time range based on each row of data in the data row set to obtain a target data set.
[0046] In the first embodiment of the present invention, in order to generate a target reimbursement form, it is necessary to use each working day as the statistical standard, and perform statistics and analysis on each row of data in the data row set, so as to calculate the reimbursement information of the staff every day within the preset time range, and obtain the reimbursement information of all working dates within the preset time range, that is, the above-mentioned target data set.
[0047] Step S104, filling the target data set into the form according to the target format to obtain the target reimbursement form.
[0048] In the first embodiment of the present invention, in order to automatically generate a target reimbursement form, it is necessary to calculate the data in the target data set, and fill the target data set into a new Excel table created in the target format by inserting a macro in the RPA program to obtain the above-mentioned target reimbursement form.
[0049] In this embodiment 1, a special gas (such as Figure 2 The process of the SF6 reimbursement form can be as follows Figure 2 As shown in the figure: First, the RPA robot starts and automatically logs into the power grid operation and maintenance platform, and automatically downloads the form to be processed (i.e. the above-mentioned data to be processed) from the target database of the power grid operation and maintenance platform; then, the RPA robot reads the data to be processed, uses the algorithm to perform statistical analysis on the data, and generates the reimbursement information for each day within the preset time range (i.e. the above-mentioned target data set); finally, the RPA robot executes the Excel macro for the reimbursement information for each day within the preset time range and generates a templated form to obtain the above-mentioned target reimbursement form. After obtaining the target reimbursement form, the RPA robot can also automatically send the generated target reimbursement form to the staff through the application.
[0050] In summary, the method for generating a reimbursement form provided in the first embodiment of the present application is to filter the data to be processed in the target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment; read each row of the data to be processed line by line to obtain a data row set; count the reimbursement information of each day within the preset time range according to each row of data in the data row set to obtain a target data set; fill the target data set into the form according to the target format to obtain a target reimbursement form, thereby solving the problem of low work efficiency of the staff in the process of generating reimbursement forms in the related technology due to the need for the staff to perform repeated and identical form filling processes. By filtering, downloading and processing the completed work plan forms and the permitted work tickets to be processed, the reimbursement amount information of the staff can be automatically counted according to the preset time period, thereby generating a reimbursement form, thereby avoiding the problem of low efficiency of form production and low tabulation accuracy caused by the manual processing of a large number of forms and repeated processing processes, thereby achieving the effect of improving the work efficiency of the staff.
[0051] Optionally, in the method for generating a reimbursement form provided in Example 1 of the present application, the above-mentioned target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
[0052] In an optional embodiment, the form of the reimbursement form for monthly statistics (i.e., the above-mentioned preset time range is one month) can be as shown in Table 1, wherein the date refers to different dates in a certain month, i.e., the above-mentioned working date; the personnel list includes the staff who need to pay the reimbursement amount, i.e., the above-mentioned work object information; the reason indicates the reason for the staff to go to the substation, or it can be the business that the staff goes to the substation to handle, i.e., the above-mentioned work reason information; the out-of-town location indicates the substation information where the staff handles the business, i.e., the above-mentioned out-of-town location information; the number of people indicates the number of staff included in the personnel list, i.e., the above-mentioned number of people information; the standard indicates the standard amount of reimbursement for each person on the working date, i.e., the above-mentioned reimbursement standard information; the subsidy amount indicates the total amount of reimbursement for all staff on that day, i.e., the above-mentioned daily reimbursement amount. After determining the target format of the reimbursement form, a two-dimensional array variable BAOXIAOarray can be created in the RPA program to store and process the reimbursement form data.
[0053] It should be noted that the work object information in the reimbursement form is not counted repeatedly. For example, if a staff member performs multiple tasks on the same day, there is only one name of this staff member in the personnel list in Table 1, and this staff member can only receive the standard reimbursement amount once on the same day. The work reason information in the reimbursement form is not counted repeatedly. For example, if a staff member performs multiple tasks on the same day, the same work category is counted in the reasons in Table 1, and there is only one such work category in the reasons. The out-of-town location information in the reimbursement form is not counted repeatedly. For example, if a staff member in the personnel list in Table 1 performs work at a substation on the same day, the substation is added to the out-of-town location in Table 1, and the same substation is counted in the out-of-town location, and there is only one such substation in the out-of-town location.
[0054] It should be noted that in order to protect the privacy information of the staff and the substation, the specific values of the personnel list, out-of-town locations and other fields in the reimbursement form (and other forms that appear below) need to be desensitized. For example, the value of the personnel list in Table 1 uses the symbol "*" to replace the real name, and the value of the out-of-town location in Table 1 uses the symbol "*" to replace the real substation name.
[0055] Table 1
[0056] date List of personnel Reason Outing location Number of people standard Amount of subsidy 1 open** Inspection **stand 1 2 2 2 Li**, Zhang** operate **stand 2 2 4 3 king** Permit to work ticket **stand 1 2 2
[0057] Optionally, in the method for generating a reimbursement form provided in Example 1 of the present application, the data to be processed is filtered in the target database according to a preset time range, including: filtering the first form according to the preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; filtering the second form according to the preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; determining the data to be processed based on the first data and the second data.
[0058] In the first embodiment of the present invention, in order to count the reimbursement information of the staff within a preset time range, it is necessary to first filter the form information related to the reimbursement information of the staff within the preset time range from the database or other storage medium, that is, filter the above-mentioned first data from the above-mentioned first form, and filter the above-mentioned second data from the above-mentioned second form, so as to process the data to be processed consisting of the first data and the second data to obtain the reimbursement information of the staff.
[0059] In an optional embodiment, the first form may be a statistical form of completed work plans of the substation operation and maintenance center. The first form may be as shown in Table 2, wherein the plan number indicates the number of the completed work plan; the work category indicates the work category of the staff in the completed work plan; the work location indicates the work location of the staff in the completed work plan; the person in charge indicates the person in charge of the completed work plan; the work members indicate the work members of the completed work plan; the actual start time indicates the actual start time of the completed work plan; and the actual end time indicates the actual end time of the completed work plan.
[0060] Table 2
[0061]
[0062] In an optional embodiment, the second form can be a statistical form of the completed work permit tickets of the substation operation and maintenance center. The work permit ticket refers to a work permit certificate in the power grid system to allow staff to perform substation maintenance, inspection or other work, and is used to ensure that staff comply with safety regulations and regulations when performing work, thereby reducing accident risks and ensuring the safety of personnel, equipment and power systems. The second form can be shown in Table 3, wherein the work ticket number represents the number of the work permit ticket; the substation represents the work location of the staff in the work permit ticket; the work permit holder represents the staff member allowed to process the substation in the work permit ticket; and the time of the work permit holder represents the time when the work permit holder processes the substation.
[0063] Table 3
[0064]
[0065]
[0066] Optionally, in the method for generating a reimbursement form provided in Example 1 of the present application, the reimbursement information for each day within a preset time range is counted based on each row of data in the data row set to obtain a target data set, including: for each row of first form data in the data row set, N working dates are determined based on the start time and end time in the first form data, wherein N is a positive integer, and the first form data is data belonging to the first form in the data row set; work object information for the N working dates is determined based on the information of the work leader and the work members in the first form data; work reason information for the N working dates is determined based on the work category in the first form data; out-of-town location information for the N working dates is determined based on the work location in the first form data; the target data set is determined based on the work object information for the N working dates, the work reason information for the N working dates, and the out-of-town location information for the N working dates.
[0067] In an optional embodiment, the process of processing the daily employee reimbursement information in the first form can be as follows: Figure 3 As shown, the data in the first form can be shown in Table 2. First, read each row of the first form data belonging to the first form in the data row set to the workspace through the RPA program, and assign all the first form data to the new variable FinishedBook. Read the total number of rows of FinishedBook through the RPA program, and define the total number of rows as the variable totalrow_1, initialize the variable k to 1, and traverse the kth row of the first form data, that is, access each completed work plan in the first form.
[0068] Then, when traversing the first form data of each row of FinishedBook, extract the "day" from the "year-month-day" in the actual start time and the actual end time, define it as the Startday and Lastday variables, initialize the initial value of the variable m to be equal to Startday, and gradually increase m by one until m is equal to Lastday. In each loop: add the person in charge and the work category to the set1 and set2 of the mth row array in the two-dimensional array variable BAOXIAOarray; convert the string of the work member field into a string array containing each staff member (for example: the string "Zhang San; Li Si; Wang Wu" is converted into a string array containing three elements ["Zhang San", "Li Si", "Wang Wu"]), and add them one by one to the set1 of the mth row array in BAOXIAOarray; extract only the "XX station" characters according to the format of the work location (for example: "110kV** station" only extracts "** station") and adds them to the set3 of the mth row array in the two-dimensional array variable BAOXIAOarray.
[0069] Finally, when the loop reaches the point where the value of m is equal to the value of the variable Lastday, determine whether k is less than totalrow_1. If k is less than totalrow_1, then add one to k and continue reading the first form data in the k-th row in FinishedBook, and process the "work category, work location, person in charge, work members, actual start time, and actual end time" of the first form data in the k-th row; if k is equal to or greater than totalrow_1, then exit the loop and the processing of the first form data in the data row set is completed.
[0070] Optionally, in the method for generating a reimbursement form provided in Example 1 of the present application, the reimbursement information for each day within a preset time range is counted based on each row of data in the data row set to obtain a target data set, including: for each row of second form data in the data row set, determining the working date in the second form data, wherein the second form data is data belonging to the second form in the data row set; determining the work object information of the working date based on the information of the work permit object in the second form data; determining the work reason information of the working date based on the work permit certificate in the second form data; determining the going out location information of the working date based on the substation information in the second form data; determining the target data set based on the work object information of each working date, the work reason information of each target working date, and the going out location information of each working date.
[0071] In an optional embodiment, the process of processing the daily employee reimbursement information in the second form can be as follows: Figure 4 As shown, the data in the second form can be as shown in Table 3. First, read each row of the second form data belonging to the second form in the data row set to the workspace through the RPA program, and assign all the second form data to the new variable PermitBook. Read the total number of rows of PermitBook through the RPA program, and define the total number of rows as the variable totalrow_2, initialize the variable k to 1, and traverse the kth row of the second form data of the variable PermitBook, that is, access the information of each permitted work ticket in the second form.
[0072] Then, when traversing each row of the second form data of PermitBook, extract the "day" from the "year-month-day" in the time value of the permitted work in Table 3, and define it as variable m; add the work permit holder in the second form data to set1 of the mth row array in the two-dimensional array variable BAOXIAOarray; add the permitted work ticket in the second form data to set2 of the mth row array in the two-dimensional array variable BAOXIAOarray; extract the "XX station" of the substation in the second form data (for example: extract "** station" from "110kV** station"), and add it to set3 of the mth row array in the two-dimensional array variable BAOXIAOarray. After the execution of step 5, determine whether k is less than totalrow_2.
[0073] Finally, determine whether k is less than totalrow_2. If k is less than totalrow_2, increase the value of k by one, continue to read the first form data in the kth row of PermitBook, and process the substation, work permit holder, and permitted work time in the second form data in the kth row; if k is equal to or greater than totalrow_2, exit the loop and complete the processing of the second form data in the data row set.
[0074] Optionally, in the method for generating a reimbursement form provided in Example 1 of the present application, the target data set is filled into the form according to the target format to obtain a target reimbursement form, including: for each row of target data in the target data set, determining the number of work objects according to the work object information of the target data; determining the number of people information of the target data according to the number of work objects, and configuring the reimbursement standard information of the target data to a second preset value; calculating the daily reimbursement amount of the target data according to the number of people information of the target data and the reimbursement standard information of the target data; generating a target reimbursement form based on the work object information of each row of target data in the target data set, the work reason information of each row of target data and the outing location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
[0075] In an optional embodiment, the process of generating the target reimbursement form can be as follows: Figure 5 As shown, the target reimbursement form is stored in the target format, which can be shown in Table 1. First, define totalday as the total number of days in the preset time range, define variable k, and initialize variable k to 1. Read the kth row array in the two-dimensional array variable BAOXIAOarray by row, define it as the variable BAOXIAOarray(k), and then define size as the number of elements in the set set1 (i.e. the above-mentioned work object information) in BAOXIAOarray(k).
[0076] Then, determine whether size is equal to 0. If size is equal to 0, it means that the data of the k-th row array BAOXIAOarray(k) is empty (that is, the k-th row array is an empty array, indicating that no staff members are working on that day). Then execute the k=k+1 statement, thereby jumping back to the "read the k-th row array in the two-dimensional array variable BAOXIAOarray by row, define it as variable BAOXIAOarray(k)" statement and execute it; if size is greater than 0, execute the following program statements: change the "date" value in BAOXIAOarray(k) to k; assign size to the "number of people" field, configure the value of the "standard" field in BAOXIAOarray(k) to 2, and configure the value of the "subsidy amount" field to the product of "number of people" and "standard"; traverse the set1 element, set2 element and set3 element in BAOXIAOarray(k) respectively, and assign them to the "personnel list" field, "reason" field and "out-of-town location" field; write BAOXIAOarray(k) into the k-th row of the target reimbursement form, and then determine whether k is less than totalday.
[0077] Finally, if k is less than totalday, the statement k=k+1 is executed, thereby jumping back to the statement "read the kth row of the two-dimensional array variable BAOXIAOarray by row, and define it as variable BAOXIAOarray(k)" and execute it; if k is equal to totalday, the processing ends.
[0078] Optionally, in the method for generating a reimbursement form provided in Example 1 of the present application, before filling the target data set into the form according to the target format to obtain the target reimbursement form, the above method also includes: respectively configuring the data types of work object information, work reason information and outing location information as collection types; respectively configuring the data types of work date and number of people information as integer types; respectively configuring the data types of reimbursement standard information and daily reimbursement amount as floating point types.
[0079] In the first embodiment, in order to facilitate data processing and calculation, it is necessary to define the data types of the variables in the two-dimensional array variable BAOXIAOarray.
[0080] In an optional embodiment, an example of a two-dimensional array variable BAOXIAOarray can be as follows: {array 1["Date: 1", "set1: {(personnel list 1)}", "set2: {(reason)}", "set3: {(person's place of going out)}", "number of people: a", "standard: 2", "subsidy amount: 2*a"], array 2["Date: 2", "set1: {(personnel list 2)}", "set2: {(reason)}", "set3: {(person's place of going out)}", "number of people: b", "standard: 2", "subsidy amount: 2*b"], ...}.
[0081] It should be noted that the number of rows N of the two-dimensional array variable BAOXIAOarray corresponds to the number of days in the preset time range (for example, when the preset time range is one month, N can be equal to 30), and each column in the two-dimensional array variable BAOXIAOarray corresponds to each field in the above-mentioned target format. In a two-dimensional array, since the set (set) is unique and statistical data will not be repeated, the data types of the work object information (such as set1 in the above example), the work reason information (such as set2 in the above example), and the outing location information (such as set3 in the above example) in the two-dimensional array variable BAOXIAOarray all use sets. Different arrays contain different sets1, set2, and set3. In addition, the working date (such as the date in the above example) and the number of people information (such as the number of people in the above example) are integer data types, and the reimbursement standard information (such as the standard in the above example) and the daily reimbursement amount (such as the number of people subsidy amount in the above example) are floating point data types.
[0082] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0083] Embodiment 2
[0084] The second embodiment of the present application also provides a device for generating a reimbursement form. It should be noted that the device for generating a reimbursement form in the second embodiment of the present application can be used to execute the method for generating a reimbursement form provided in the first embodiment of the present application. The device for generating a reimbursement form provided in the second embodiment of the present application is introduced below.
[0085] Figure 6 Schematic diagram of a device for generating a reimbursement form according to the second embodiment of the present application. Figure 6 As shown, the device includes: a screening unit 601, a reading unit 602, a counting unit 603 and a filling unit 604.
[0086] Specifically, the screening unit 601 is used to screen the data to be processed in the target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment.
[0087] The reading unit 602 is used to read each row of the data to be processed row by row to obtain a data row set.
[0088] The statistical unit 603 is used to collect statistics of reimbursement information for each day within a preset time range based on each row of data in the data row set to obtain a target data set.
[0089] The filling unit 604 is used to fill the target data set into the form according to the target format to obtain the target reimbursement form.
[0090] The generation device of the reimbursement form provided in the second embodiment of the present application, through the screening unit 601, screens the data to be processed in the target database according to the preset time range, wherein the target database is a database storing the maintenance information of the power grid equipment; the reading unit 602 reads each line of the data to be processed line by line to obtain a data row set; the statistical unit 603 counts the reimbursement information of each day within the preset time range according to each line of data in the data row set to obtain a target data set; the filling unit 604 fills the target data set into the form according to the target format to obtain a target reimbursement form, which solves the problem of low work efficiency of the staff in the process of generating the reimbursement form in the related technology because the staff needs to perform repeated and identical form filling processes. By screening, downloading and processing the completed work plan forms and the permitted work tickets to be processed, the reimbursement amount information of the staff can be automatically counted according to the preset time period, thereby generating the reimbursement form, avoiding the problem of low efficiency of form production and low tabulation accuracy caused by the manual processing of a large number of forms and repeated processing processes, thereby achieving the effect of improving the work efficiency of the staff.
[0091] Optionally, in the reimbursement form generation device provided in Example 2 of the present application, the above-mentioned target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
[0092] Optionally, in the reimbursement form generation device provided in Example 2 of the present application, the above-mentioned screening unit 601 includes: a first screening sub-unit, used to screen the first form according to a preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; a second screening sub-unit, used to screen the second form according to a preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; a first determination sub-unit, used to determine the data to be processed based on the first data and the second data.
[0093] Optionally, in the reimbursement form generation device provided in Example 2 of the present application, the above-mentioned statistical unit 603 includes: a second determination sub-unit, used to determine N working dates for each row of first form data in the data row set according to the start time and end time in the first form data, wherein N is a positive integer, and the first form data is the data belonging to the first form in the data row set; a third determination sub-unit, used to determine the work object information of the N working dates according to the information of the work leader and the work members in the first form data; a fourth determination sub-unit, used to determine the work reason information of the N working dates according to the work category in the first form data; a fifth determination sub-unit, used to determine the out-of-town location information of the N working dates according to the work location in the first form data; a sixth determination sub-unit, used to determine the target data set based on the work object information of the N working dates, the work reason information of the N working dates and the out-of-town location information of the N working dates.
[0094] Optionally, in the reimbursement form generation device provided in Example 2 of the present application, the above-mentioned statistical unit 603 includes: a seventh determination sub-unit, used to determine the working date in the second form data for each row of second form data in the data row set, wherein the second form data is the data belonging to the second form in the data row set; an eighth determination sub-unit, used to determine the work object information of the working date based on the information of the work permit object in the second form data; a ninth determination sub-unit, used to determine the work reason information of the working date based on the work permit certificate in the second form data; a tenth determination sub-unit, used to determine the going-out location information of the working date based on the substation information in the second form data; an eleventh determination sub-unit, used to determine the target data set based on the work object information of each working date, the work reason information of each target working date and the going-out location information of each working date.
[0095] Optionally, in the reimbursement form generation device provided in Example 2 of the present application, the above-mentioned filling unit 604 includes: a twelfth determination sub-unit, used to determine the number of work objects for each row of target data in the target data set according to the work object information of the target data; a thirteenth determination sub-unit, used to determine the number of people information of the target data according to the number of work objects, and configure the reimbursement standard information of the target data to a second preset value; a calculation sub-unit, used to calculate the daily reimbursement amount of the target data based on the number of people information of the target data and the reimbursement standard information of the target data; a generation sub-unit, used to generate a target reimbursement form based on the work object information of each row of target data in the target data set, the work reason information of each row of target data and the outing location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
[0096] Optionally, in the reimbursement form generation device provided in Example 2 of the present application, the above-mentioned device also includes: a first configuration unit, used to fill the target data set into the form according to the target format to obtain the target reimbursement form, and configure the data types of work object information, work reason information and outing location information as collection types; a second configuration unit, used to configure the data types of working date and number of people information as integer types; a third configuration unit, used to configure the data types of reimbursement standard information and daily reimbursement amount as floating point types.
[0097] The device for generating the reimbursement form includes a processor and a memory. The above-mentioned screening unit 601, reading unit 602, statistical unit 603 and filling unit 604 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0098] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the work efficiency of the staff can be improved by adjusting the kernel parameters.
[0099] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0100] Embodiment 3 of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for generating a reimbursement form is implemented.
[0101] A fourth embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes a method for generating a reimbursement form when the program is running.
[0102] like Figure 7 As shown, embodiment 5 of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: filtering the data to be processed in the target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment; reading each row of the data to be processed line by line to obtain a data row set; counting the reimbursement information of each day within the preset time range according to each row of data in the data row set to obtain a target data set; filling the target data set into a form according to the target format to obtain a target reimbursement form.
[0103] When the processor executes the program, the following steps are also implemented: the above-mentioned target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
[0104] When the processor executes the program, the following steps are also implemented: filtering the data to be processed in the target database according to a preset time range, including: filtering the first form according to the preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; filtering the second form according to the preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; determining the data to be processed based on the first data and the second data.
[0105] When the processor executes the program, the following steps are also implemented: based on each row of data in the data row set, statistics are collected on the reimbursement information of each day within a preset time range to obtain a target data set, including: for each row of first form data in the data row set, N working dates are determined based on the start time and end time in the first form data, wherein N is a positive integer, and the first form data is data belonging to the first form in the data row set; based on the information of the work person in charge and the work members in the first form data, the work object information of the N working dates is determined respectively; based on the work category in the first form data, the work reason information of the N working dates is determined respectively; based on the work location in the first form data, the out-of-town location information of the N working dates is determined respectively; and based on the work location in the first form data, the target data set is determined based on the work object information of the N working dates, the work reason information of the N working dates, and the out-of-town location information of the N working dates.
[0106] When the processor executes the program, the following steps are also implemented: based on each row of data in the data row set, statistics are collected on the reimbursement information of each day within a preset time range to obtain a target data set, including: for each row of second form data in the data row set, determining the working date in the second form data, wherein the second form data is data belonging to the second form in the data row set; determining the working object information of the working date based on the information of the work permit object in the second form data; determining the work reason information of the working date based on the work permit certificate in the second form data; determining the going-out location information of the working date based on the substation information in the second form data; determining the target data set based on the work object information of each working date, the work reason information of each target working date, and the going-out location information of each working date.
[0107] When the processor executes the program, the following steps are also implemented: filling the target data set into the form according to the target format to obtain a target reimbursement form, including: for each row of target data in the target data set, determining the number of work objects according to the work object information of the target data; determining the number of people information of the target data according to the number of work objects, and configuring the reimbursement standard information of the target data to a second preset value; calculating the daily reimbursement amount of the target data according to the number of people information of the target data and the reimbursement standard information of the target data; generating a target reimbursement form based on the work object information of each row of target data in the target data set, the work reason information of each row of target data and the outing location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
[0108] When the processor executes the program, the following steps are also implemented: before filling the target data set into the form according to the target format to obtain the target reimbursement form, the above method also includes: respectively configuring the data types of the work object information, work reason information and outing location information as collection types; respectively configuring the data types of the work date and number of people information as integer types; respectively configuring the data types of the reimbursement standard information and the daily reimbursement amount as floating point types.
[0109] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0110] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: screening the data to be processed in a target database according to a preset time range, wherein the target database is a database that stores maintenance information of power grid equipment; reading each line of the data to be processed line by line to obtain a data row set; collecting statistics on the reimbursement information for each day within the preset time range based on each line of data in the data row set to obtain a target data set; and filling the target data set into a form according to a target format to obtain a target reimbursement form.
[0111] When executed on a data processing device, it is also suitable for executing an initialization program with the following method steps: the above-mentioned target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
[0112] When executed on a data processing device, it is also suitable for executing an initialized program having the following method steps: filtering the data to be processed in the target database according to a preset time range, including: filtering the first form according to the preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; filtering the second form according to the preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; determining the data to be processed based on the first data and the second data.
[0113] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: according to each row of data in the data row set, statistics are collected on the reimbursement information of each day within a preset time range to obtain a target data set, including: for each row of first form data in the data row set, N working dates are determined according to the start time and end time in the first form data, wherein N is a positive integer, and the first form data is data belonging to the first form in the data row set; according to the information of the work person in charge and the work members in the first form data, the work object information of the N working dates is determined respectively; according to the work category in the first form data, the work reason information of the N working dates is determined respectively; according to the work location in the first form data, the out-of-town location information of the N working dates is determined respectively; according to the work location in the first form data, the out-of-town location information of the N working dates is determined respectively; the target data set is determined according to the work object information of the N working dates, the work reason information of the N working dates, and the out-of-town location information of the N working dates.
[0114] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: based on each row of data in the data row set, statistics are collected on the reimbursement information of each day within a preset time range to obtain a target data set, including: for each row of second form data in the data row set, determining the working date in the second form data, wherein the second form data is data belonging to the second form in the data row set; determining the working object information of the working date based on the information of the work permit object in the second form data; determining the work reason information of the working date based on the work permit certificate in the second form data; determining the going-out location information of the working date based on the substation information in the second form data; determining the target data set based on the work object information of each working date, the work reason information of each target working date, and the going-out location information of each working date.
[0115] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: filling a target data set into a form according to a target format to obtain a target reimbursement form, including: for each row of target data in the target data set, determining the number of work objects according to the work object information of the target data; determining the number of people information of the target data according to the number of work objects, and configuring the reimbursement standard information of the target data to a second preset value; calculating the daily reimbursement amount of the target data according to the number of people information of the target data and the reimbursement standard information of the target data; generating a target reimbursement form according to the work object information of each row of target data in the target data set, the work reason information of each row of target data and the outing location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
[0116] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: before filling the target data set into the form according to the target format to obtain the target reimbursement form, the above method also includes: respectively configuring the data types of work object information, work reason information and outing location information as collection types; respectively configuring the data types of work date and number of people information as integer types; respectively configuring the data types of reimbursement standard information and daily reimbursement amount as floating point types.
[0117] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0118] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0119] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0120] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0121] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0122] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0123] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0124] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0125] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0126] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for generating a reimbursement form, characterized in that: include: Filtering the data to be processed in a target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment; Read each row of the data to be processed row by row to obtain a data row set; According to each row of data in the data row set, the reimbursement information of each day within the preset time range is counted to obtain a target data set; The target data set is filled into the form according to the target format to obtain a target reimbursement form.
2. The method according to claim 1, characterized in that: The target format includes at least the following fields: work date, work object information, work reason information, outing location information, number of people information, reimbursement standard information, and daily reimbursement amount.
3. The method according to claim 2, characterized in that Filter the data to be processed in the target database according to the preset time range, including: The first form is screened according to the preset time range to obtain first data, wherein each row of data in the first form contains equipment maintenance information of multiple working days; The second form is screened according to the preset time range to obtain second data, wherein each row of data in the second form contains equipment maintenance information of a single working day; The data to be processed is determined according to the first data and the second data.
4. The method according to claim 3, characterized in that According to each row of data in the data row set, the reimbursement information of each day within the preset time range is counted to obtain a target data set, including: For each row of first form data in the data row set, determine N working dates according to the start time and end time in the first form data, where N is a positive integer, and the first form data is data belonging to the first form in the data row set; Determine the work object information of the N work dates respectively according to the information of the work person in charge and the work members in the first form data; Determine the work reason information of the N working dates respectively according to the work categories in the first form data; Determine the out-of-town location information of the N working dates respectively according to the working locations in the first form data; The target data set is determined based on the work object information of the N working dates, the work reason information of the N working dates, and the outing location information of the N working dates.
5. The method according to claim 3, characterized in that: According to each row of data in the data row set, the reimbursement information of each day within the preset time range is counted to obtain a target data set, including: For each row of second form data in the data row set, determining the working date in the second form data, wherein the second form data is data belonging to the second form in the data row set; Determining the work object information of the work date according to the information of the work permission object in the second form data; Determining work reason information for the work date according to the work permit certificate in the second form data; Determining the out-of-town location information on the working date according to the substation information in the second form data; The target data set is determined according to the work object information of each work date, the work reason information of each target work date and the out-of-town location information of each work date.
6. The method according to claim 2, characterized in that Fill the target data set into the form according to the target format to obtain the target reimbursement form, including: For each row of target data in the target data set, determining the number of working objects according to the working object information of the target data; Determine the number of people in the target data according to the number of the work objects, and configure the reimbursement standard information of the target data to a second preset value; Calculating the daily reimbursement amount of the target data according to the number of people information of the target data and the reimbursement standard information of the target data; The target reimbursement form is generated based on the work object information of each row of target data in the target data set, the work reason information of each row of target data, the outbound location information of each row of target data, the number of people information of each row of target data, the reimbursement standard information of each row of target data and the daily reimbursement amount of each row of target data.
7. The method according to claim 2, characterized in that Before filling the target data set into a form according to a target format to obtain a target reimbursement form, the method further includes: The data types of the work object information, the work reason information and the outing location information are respectively configured as set types; The data types of the working date and the number of people information are respectively configured as integer types; The data types of the reimbursement standard information and the daily reimbursement amount are respectively configured as floating point types.
8. A device for generating a reimbursement form, characterized in that: include: A screening unit, used to screen the data to be processed in a target database according to a preset time range, wherein the target database is a database storing maintenance information of power grid equipment; A reading unit, used for reading each row of the data to be processed row by row to obtain a data row set; A statistical unit, configured to collect statistics on reimbursement information for each day within the preset time range according to each row of data in the data row set, to obtain a target data set; A filling unit is used to fill the target data set into a form according to a target format to obtain a target reimbursement form.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes stored computer instructions, wherein when the computer instructions are executed by a processor, the method for generating a reimbursement form as described in any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating a reimbursement form as described in any one of claims 1 to 7.
