Search

CN-121979901-A - Personnel bill processing method and device, electronic equipment and storage medium

CN121979901ACN 121979901 ACN121979901 ACN 121979901ACN-121979901-A

Abstract

The application relates to the technical field of personnel business data processing, in particular to a personnel bill processing method, a device, equipment and a storage medium, which comprise the steps of responding to received request information of a heterogeneous data source, and converting the request information of the heterogeneous data source into a standard query instruction; the method comprises the steps of executing batch inquiry based on the standard inquiry instruction to obtain target personnel data, automatically backfilling the target personnel data to a document to be processed, responding to an approval validation instruction of the document to be processed to obtain document validation data, carrying out data assembly on the document validation data based on a preset data assembly rule, and writing the assembled data into a personnel main data model in a single transaction. Therefore, through the predefined rule based on the service type and the multi-source data adapter, the automatic loading and backfilling of personnel information are realized, the multi-scattered database requests are optimized into one-time batch query, the database pressure is greatly reduced, and the accurate execution of the service rule is ensured.

Inventors

  • Lu Rongyang
  • CHEN SUTING
  • JIN KANG
  • HUANG LONGJI
  • LI TING
  • Lu Songjiong
  • NI JIA

Assignees

  • 金蝶软件(中国)有限公司

Dates

Publication Date
20260505
Application Date
20251222

Claims (10)

  1. 1. A personal document processing method, comprising: Responding to the received request information of the heterogeneous data source, and converting the request information of the heterogeneous data source into a standard query instruction; executing batch inquiry based on the standard inquiry instruction to acquire target personnel data, and automatically backfilling the target personnel data to a document to be processed; responding to the approval validation instruction of the document to be processed, and acquiring document validation data; and based on a preset data assembly rule, carrying out data assembly on the bill effective data, and writing the assembled data into a personnel main data model in a single transaction.
  2. 2. The method of claim 1, wherein the performing a batch query based on the standard query instruction to obtain target personnel data comprises: Determining a target personnel bill template corresponding to the service type selected by the user, wherein the target personnel bill template corresponds to a target service type identifier; Loading and activating a target processing rule corresponding to the target service type identifier; Determining a target field loading rule bound by the target business category identifier from the target processing rule; automatically identifying and determining a personnel information field set to be loaded based on the target field loading rule; And acquiring target personnel data from a personnel main data model based on the standard query instruction and the personnel information field set to be loaded.
  3. 3. The method of claim 1, wherein the data assembling the document validation data based on preset data assembly rules comprises: based on the change rule corresponding to the target service type identifier and the key identifier in the bill validation data, determining the change type corresponding to each information group; and based on the preset data assembly rule and the corresponding change type of each information group, assembling the bill effective data into structured data meeting the requirements of a personnel main data model.
  4. 4. The method as recited in claim 1, further comprising: And under the condition that the bill effective data comprises secondary development extended personnel related entry information, executing new, updated or deleted structured assembly processing, wherein the secondary development extended personnel related entry information at least comprises education experience, professional information, work allocation and tenure experience of the secondary development extended personnel.
  5. 5. The method as recited in claim 1, further comprising: starting a database transaction, calling a personnel data writing interface to write the structured data in batches, and monitoring abnormality in the transaction execution process; If the write failure is monitored, the transaction rollback is triggered.
  6. 6. The method of claim 1, wherein the process of data assembling the document validation data further comprises: recording an execution log of a data assembling and writing process in real time, wherein the execution log comprises a data snapshot to be written after assembling, a triggered business rule and operation context information; Automatically initiating a retry based on an execution log stored by the log recording unit in response to monitoring a data write failure or a transaction interrupt; under the condition that data writing failure is monitored, carrying out abnormality cause analysis on the execution log to generate an abnormality analysis report; And triggering a subsequent business process after the data is written successfully, wherein the subsequent business process comprises the steps of sending a notification message and updating a retrieval index.
  7. 7. The personnel bill processing method and device is characterized by comprising the following steps: The conversion module is used for responding to the received request information of the heterogeneous data sources and converting the request information of the heterogeneous data sources into standard query instructions; the first acquisition module is used for executing batch inquiry based on the standard inquiry instruction so as to acquire target personnel data and automatically backfilling the target personnel data to a document to be processed; The second acquisition module is used for responding to the approval validation instruction of the document to be processed and acquiring document validation data; and the assembly module is used for carrying out data assembly on the bill effective data based on a preset data assembly rule, and writing the assembled data into a personnel main data model in a single transaction.
  8. 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method according to any one of claims 1-6 when the computer program is executed.
  9. 9. A computer readable storage medium for storing a computer program, the computer program being loaded by a processor to perform the steps of the method of any one of claims 1 to 6.
  10. 10. A computer program product, characterized in that the computer program product, when run on an electronic device, causes the electronic device to perform the steps in the method of any one of claims 1 to 6.

Description

Personnel bill processing method and device, electronic equipment and storage medium Technical Field The present application relates to the field of personnel business data processing technologies, and in particular, to a personnel document processing method, a personnel document processing device, an electronic device, and a storage medium. Background In the document processing field of personnel management systems, the prior art mainly depends on the capability of a general secondary development platform to realize, and comprises the following two schemes. A scheme is that a general form designer is adopted, a service personnel zero coding configuration custom form is supported through a visual dragging mode, multiple service types and layout requirements are adapted, the front-end form design capability is only provided, the rear end lacks a personnel service-oriented data model unified loading and assembling mechanism, a developer is required to manually write data extraction and assembling logic when a bill takes effect, and due to the fact that a personnel main data model is complex, a plurality of related entities are involved, incomplete data loading or assembling errors are prone to occurring. The other scheme is to determine the mapping relation between the file change rule and the field through the guide type step-by-step configuration and adapt to the requirement of the custom document, but the scheme disassembles the business logic into a large number of scattered configuration items, and the system needs to read, analyze and cooperatively process for many times when running, so that the response delay of the business request is high, the resource consumption is large, and the configuration migration needs to manually identify and export the scattered configuration, thereby easily causing functional abnormality due to configuration omission or environmental difference and increasing the complexity of maintenance and version management. Disclosure of Invention The application provides a personnel bill processing method, a personnel bill processing device, electronic equipment and a storage medium, which can improve the efficiency, the data accuracy and the system robustness of personnel bill processing and reduce the development and maintenance cost. In order to achieve the above purpose, the application adopts the following technical scheme: In a first aspect, a method for processing a personnel document is provided, including: Responding to the received request information of the heterogeneous data source, and converting the request information of the heterogeneous data source into a standard query instruction; executing batch inquiry based on the standard inquiry instruction to acquire target personnel data, and automatically backfilling the target personnel data to a document to be processed; responding to the approval validation instruction of the document to be processed, and acquiring document validation data; and based on a preset data assembly rule, carrying out data assembly on the bill effective data, and writing the assembled data into a personnel main data model in a single transaction. In a second aspect, there is provided a personal document processing apparatus comprising: The determining module is used for responding to the received query instruction and determining a corresponding target query task according to the natural language text currently input by the user; the decomposition module is used for analyzing and decomposing the target inquiry task to obtain a plurality of atomization subtasks; the matching module is used for respectively matching the plurality of atomization subtasks with each agent so that each atomization subtask is matched with a corresponding target agent; The execution module is used for executing the corresponding atomization subtasks based on each target intelligent agent so as to obtain an execution result; And the reply module is used for generating natural language reply texts according to the execution results. In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for processing a personnel document according to any one of the first aspect when the processor executes the computer program. In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a personnel document processing method as in any one of the first aspects above. In a fifth aspect, embodiments of the present application provide a computer program product which, when run on an electronic device, causes the electronic device to perform the personnel document processing method of any one of the first aspects above. It will be appreciated that the advantages of the second to fifth aspect