Salary calculation method and system, electronic equipment and storage medium
The automated salary calculation method addresses inefficiencies and errors in traditional methods by automating data collection and tax processing, ensuring accurate and timely salary calculations for seconded employees, thereby improving HR management efficiency and decision-making.
Patent Information
- Application Number
- CN202411236078.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-27
AI Technical Summary
In chain industries with employee secondment, traditional salary calculation methods are inefficient, prone to errors, and lack timely accuracy due to manual data collection and processing, complicating HR management.
A salary calculation method that automates the collection of split salary data from multiple secondment departments, performs consolidated tax calculations, and includes verification and alarm mechanisms to ensure accuracy and completeness, reducing manual workload and errors.
The method significantly improves salary calculation efficiency, accuracy, and standardization, ensuring fair and rational salaries while enhancing HR management capabilities and decision-making support.
Smart Images

Figure CN119205380A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a salary calculation method, system, electronic device and storage medium. Background Art
[0002] In chain industries such as catering and tea, employees often need to be seconded between different departments or stores. Since different departments or stores may have different salary standards, this brings complexity to the human resources department when calculating employee salaries. The traditional practice is that the human resources department needs to calculate the employee's salary in each department or store based on the employee's attendance time in each department or store, and then summarize and calculate taxes. The traditional salary calculation method requires HR personnel to manually collect and organize employee attendance data, and then calculate one by one. This method is inefficient and prone to errors, and cannot provide employees with timely and accurate salary feedback. Therefore, in the scenario where chain industry employees are frequently seconded, it is particularly important to provide a method that allows the human resources department to quickly and correctly calculate employee salary data. Summary of the invention
[0003] In order to solve the above technical problems, the present application provides a salary calculation method, system, electronic device and storage medium.
[0004] In a first aspect, the present application provides a salary calculation method, comprising: obtaining a set of salary data of a target object, wherein the set of salary data includes the split salary data of the target object in N secondment departments for the current month, and N is a positive integer greater than or equal to 1; judging whether the split salary of the target object for the current month has been calculated based on the set of salary data; and when it is determined that the split salary of the target object for the current month has been calculated, performing a combined tax calculation process on the set of salary data to obtain target salary data, wherein the target salary data is used to represent the comprehensive salary data of the target object for the current month.
[0005] By adopting the above technical solution, the salary calculation process is greatly simplified by automatically obtaining the split salary data of the target object in multiple secondment departments and uniformly conducting consolidated tax calculation processing, which reduces the workload of HR personnel. The automated calculation method can significantly improve the efficiency of salary calculation, enabling the HR department to quickly complete the salary calculation work and reduce time costs. Automated data processing and calculation reduce errors caused by human factors, improve the accuracy of salary calculation, and ensure the fairness and rationality of employee salaries. This method helps enterprises to achieve the standardization and standardization of salary management, optimize the human resource management process, and improve the overall management level.
[0006] Optionally, after obtaining the target salary data, the method further includes: performing cost splitting based on a set of salary data to obtain cost splitting data for each of the N secondment departments.
[0007] By adopting the above technical solution, after obtaining the target salary data, cost splitting can be performed based on a set of salary data, that is, according to the split salary data of the target object in each secondment department, cost splitting can be automatically performed by department. For example, according to the salary paid by each secondment department for the target object, the salary cost of the target object is divided into the corresponding department. This technical solution can help managers understand the cost situation of each department more clearly and provide strong support for decision-making.
[0008] Optionally, judging whether the split salary of the target object for that month has been calculated based on a set of salary data includes: determining a first attendance percentage value of the target object in N seconded departments for that month based on a set of salary data and the first attendance data, wherein the first attendance data includes the attendance data of the target object in each of the N seconded departments for that month; when it is determined that the sum of the first attendance percentage value and the second attendance percentage value is less than 1, determining that the split salary of the target object for that month has not been calculated, wherein the second attendance percentage value is used to represent the attendance percentage value of the target object in the main department for that month; when it is determined that the sum of the first attendance percentage value and the second attendance percentage value is equal to 1, determining that the split salary of the target object for that month has been calculated.
[0009] By adopting the above technical solution, the first attendance percentage of the target object in N seconded departments for the month is determined based on a set of salary data and the first attendance data; when it is determined that the sum of the first attendance percentage and the second attendance percentage is less than 1, it is determined that the split salary of the target object for the month has not been calculated, and when it is determined that the sum of the first attendance percentage and the second attendance percentage is equal to 1, it is determined that the split salary of the target object for the month has been calculated, wherein the second attendance percentage represents the attendance percentage of the target object in the main department for the month. By calculating and verifying whether the sum of the first attendance percentage of the target object in N seconded departments and the second attendance percentage in the main department is equal to 1, it can be ensured that the salary calculation covers the attendance of the target object in all departments, thereby avoiding the problem of omission or duplication of salary calculation. The automated verification process reduces the manual verification work of HR personnel, which is a reflection of the improvement of the intelligence level of the salary calculation system and improves work efficiency.
[0010] Optionally, the above method also includes: when it is determined that the split salary of the target object for that month has not been calculated, prohibiting the submission operation of the salary data for that month, wherein the salary data for that month includes the salary data of all employees in the main department for that month.
[0011] By adopting the above technical solution, when it is determined that the split salary of the target object for the month has not been calculated, it is prohibited to submit the salary data for the month. By implementing this control mechanism, it is ensured that the split salaries of all employees are fully calculated and accurately recorded before the overall submission of the salary data, thereby greatly improving the accuracy and reliability of the salary data; by introducing a mechanism to check the completion of the split salary calculation, the problem of data integrity and accuracy in salary management is effectively solved, and multiple technical effects such as improving data accuracy, enhancing process standardization, reducing operational risks and improving employee satisfaction are achieved.
[0012] Optionally, the method further includes: when it is determined that the split salary of the target object for that month has not been calculated, issuing an alarm to the target secondment department, wherein the target secondment department is a secondment department among the N secondment departments that has not performed the split salary calculation.
[0013] By adopting the above technical solution, when it is determined that the split salary of the target object for the month has not been calculated, an alarm will be issued to the target secondment department. By timely reminding the secondment department that has not performed the split salary calculation, the salary calculation errors or omissions caused by delayed processing are reduced, and the accuracy and reliability of salary data are improved; by introducing the alarm prompt mechanism, the entire process is made more automated and intelligent, reducing the uncertainty caused by human intervention and improving management efficiency.
[0014] Optionally, issuing an alarm to the target secondment department includes at least one of the following: sending a reminder message to the HR of the target secondment department through system notification; sending a reminder message to the HR of the target secondment department through text messages; sending a reminder message to the HR of the target secondment department through emails.
[0015] By adopting the above technical solution, reminder information can be sent to the HR of the target secondment department through system notification, SMS, or email. Alarm prompts can also be sent to the HR of the target secondment department through other methods, making the salary management system more flexible and changeable in alarm prompts, able to adapt to the differentiated needs of different organizations and departments, and providing a variety of alarm prompt methods to meet these diverse needs, ensuring that the reminder information can be received and processed in the most appropriate scenario.
[0016] Optionally, after obtaining the target salary data, the method further includes: storing the first attendance data, the second attendance data, a group of salary data, the main post department salary data and the target salary data, wherein the second attendance data is used to represent the attendance data of the target object in the main post department that month, the main post department salary data is calculated according to the salary standard of the main post department and the second attendance data, the target salary data is obtained after merging and taxing a group of salary data and the main post department salary data, the i-th salary data is calculated according to the salary standard of the i-th seconded department and the attendance data of the target object in the i-th seconded department that month, wherein a group of salary data includes the N-th salary data, the i-th salary data is any one of the N salary data, and i is a positive integer greater than or equal to 1 and less than or equal to N.
[0017] By adopting the above technical solution, when it is determined that the split salary of the target object for that month has been calculated, after obtaining the target salary data, the first attendance data, the second attendance data, a group of salary data, the main department salary data and the target salary data are stored, that is, the attendance and salary structure related data of the target object for that month are archived for subsequent query, thereby improving the security and traceability of the data.
[0018] In the second aspect of the present application, a salary calculation system is also provided, including: an acquisition module, used to acquire a set of salary data of a target object, wherein the set of salary data includes the split salary data of the target object in N secondment departments for the current month, and N is a positive integer greater than or equal to 1; a judgment module, used to judge whether the split salary of the target object for the current month has been calculated based on a set of salary data; a processing module, used to perform a combined tax calculation process on a set of salary data to obtain target salary data when it is determined that the split salary of the target object for the current month has been calculated, wherein the target salary data is used to represent the comprehensive salary data of the target object for the current month.
[0019] In a third aspect of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, any of the above method steps is implemented.
[0020] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the above method steps is performed.
[0021] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. By automatically obtaining the split salary data of the target object in multiple secondment departments and uniformly processing the consolidated tax calculation, the salary calculation process is greatly simplified and the workload of HR personnel is reduced. The automated calculation method can significantly improve the efficiency of salary calculation; 2. Automatically verify whether the total attendance percentage of the target object in all departments is complete, which reduces the manual verification work of HR personnel. It is a reflection of the improvement of the intelligent level of the salary calculation system and improves work efficiency; 3. Ensure that the split salaries are fully calculated and accurately recorded before submitting the overall salary data, which greatly improves the accuracy and reliability of the salary data. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of a salary calculation method provided in an embodiment of the present application; Figure 2 It is a flow chart of a secondment scheme accounting provided by an embodiment of the present application; Figure 3 This is an example diagram of a calculation result of a secondment plan provided in an embodiment of the present application; Figure 4 This is a schematic diagram of a process flow of a general plan accounting for a main post provided in an embodiment of the present application; Figure 5 This is an example diagram of the calculation results of a general plan for a main post provided in an embodiment of the present application; Figure 6 It is a structural block diagram of a salary calculation system provided in an embodiment of the present application; Figure 7 It is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application.
[0023] Description of reference numerals: 700 - electronic device; 701 - processor; 702 - communication bus; 703 - user interface; 704 - network interface; 705 - memory. DETAILED DESCRIPTION
[0024] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0025] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0026] In the description of the embodiments of the present application, the term "plurality" means two or more. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0027] This application provides a salary calculation method, refer to Figure 1 , Figure 1 This is a flow chart of a salary calculation method provided in an embodiment of the present application, comprising the following steps: Step S101, obtaining a set of salary data of a target object, wherein the set of salary data includes the split salary data of the target object in N secondment departments in the current month, where N is a positive integer greater than or equal to 1; Step S102, judging whether the split salary of the target object for the current month has been calculated based on a set of salary data; Step S103, when it is determined that the split salary of the target object for the current month has been calculated, a group of salary data is consolidated for tax calculation to obtain target salary data, wherein the target salary data is used to represent the comprehensive salary data of the target object for the current month.
[0028] In the above embodiment, a group of salary data of the target object is obtained, wherein the group of salary data includes the split salary data of the target object in N secondment departments for the current month, and then it is judged whether the split salary of the target object for the current month has been calculated based on the group of salary data. When it is determined that the split salary of the target object for the current month has been calculated, the group of salary data is combined and taxed to obtain the comprehensive salary data of the target object for the current month. That is, by automatically obtaining the split salary data of the target object in each secondment department for the current month, and automatically combining and calculating taxes when it is determined that the split salary of the target object for the current month has been calculated, the final salary data of the target object for the current month can be calculated quickly and accurately. The problem of low efficiency of salary calculation caused by manual methods in the related art is avoided, and the effect of improving the efficiency of salary calculation is achieved. Since employees are seconded between different departments or stores, each department or store may adopt different salary standards and calculation methods, making the overall salary calculation complicated. The methods in the relevant technology require HR personnel to manually collect and organize the attendance and salary data of each employee in each department or store. This process is not only time-consuming and labor-intensive, but also prone to errors. In addition, before the consolidated tax calculation, it is necessary to first determine whether the split salary of the target object for the current month has been calculated. This can avoid the problem of missed split salary calculation in individual seconded departments or stores, and achieve the effect of improving the accuracy of salary calculation. By automatically obtaining the split salary data of the target object in multiple seconded departments and uniformly performing consolidated tax calculation, the salary calculation process is greatly simplified and the workload of HR personnel is reduced. The automated calculation method can significantly improve the efficiency of salary calculation, enabling the HR department to quickly complete the salary calculation work and reduce time costs. Automated data processing and calculation reduce errors caused by human factors, improve the accuracy of salary calculation, and ensure the fairness and rationality of employee salaries. This method helps enterprises to achieve the standardization and standardization of salary management, optimize the human resource management process, and improve the overall management level.
[0029] In an optional embodiment, after obtaining the target salary data, the method further includes: performing cost splitting based on a set of salary data to obtain cost splitting data of each of the N seconded departments.
[0030] In the above embodiment, after obtaining the target salary data, cost splitting can be performed based on a set of salary data, that is, according to the split salary data of the target object in each secondment department, the cost splitting is automatically performed by department, for example, according to the salary paid by each secondment department for the target object, the salary cost of the target object is divided into the corresponding department. The method of the embodiment of the present application can help managers understand the cost situation of each department more clearly and provide strong support for decision-making. In the chain industry, employee secondment often involves the problem of cost allocation. The cost allocation in the relevant technology may rely on manual recording or rough estimation, which may lead to inaccurate cost allocation and affect the financial management and performance evaluation of each secondment department; the automated cost splitting process reduces the workload of manual calculation and recording, and improves management efficiency. At the same time, accurate cost data also provides strong support for the budget preparation, cost control and performance evaluation of the enterprise; through cost splitting, the enterprise can clearly see the cost expenditure of each secondment department, which helps the management to make more reasonable resource allocation decisions, such as adjusting the employee allocation between departments and optimizing the cost structure. The embodiment of the present application not only solves the problem of unclear cost allocation by introducing a cost splitting step, but also improves management efficiency, optimizes resource allocation, and enhances the decision-making support capabilities of the enterprise.
[0031] In an optional embodiment, determining whether the split salary of the target object for the current month has been calculated based on a set of salary data includes: determining a first attendance percentage value of the target object in N seconded departments for the current month based on a set of salary data and first attendance data, wherein the first attendance data includes the attendance data of the target object in each of the N seconded departments for the current month; when it is determined that the sum of the first attendance percentage value and the second attendance percentage value is less than 1, determining that the split salary of the target object for the current month has not been calculated, wherein the second attendance percentage value is used to represent the attendance percentage value of the target object in the main department for the current month; when it is determined that the sum of the first attendance percentage value and the second attendance percentage value is equal to 1, determining that the split salary of the target object for the current month has been calculated.
[0032] In the above embodiment, the first attendance percentage of the target object in N seconded departments in the current month is determined based on a set of salary data and the first attendance data; when it is determined that the sum of the first attendance percentage and the second attendance percentage is less than 1, it is determined that the split salary of the target object in the current month has not been calculated, and when it is determined that the sum of the first attendance percentage and the second attendance percentage is equal to 1, it is determined that the split salary of the target object in the current month has been calculated, wherein the second attendance percentage represents the attendance percentage of the target object in the main post department in the current month. For example, if the target object works 10 days in the main post department, 5 days in the first seconded department, 8 days in the second seconded department, and 7 days in the third seconded department, then the first attendance percentage is 2 / 3 and the second attendance percentage is 1 / 3. An example can be used to illustrate that when the HR of the target object's main department calculates the target object's monthly salary, for example, in the salary accounting system, click Start Calculation to automatically obtain the target object's split salary data in each secondment department. If the current first secondment department has not yet calculated the target object's split salary for the month, then the sum of the first attendance percentage value and the second attendance percentage value is less than 1, indicating that the target object's split salary for the month has not been calculated, and the comprehensive salary cannot be calculated at this time. It is also possible that the target object does not work in the main department that month, but works in multiple secondment departments. At this time, it is only necessary to determine whether the target object's split salary for the month has been calculated based on a set of salary data and the first attendance data. Optionally, the target object's attendance data in each secondment department can also be included in a set of salary data. By calculating and verifying whether the sum of the target object's first attendance percentage in N seconded departments and the second attendance percentage in the main post department is equal to 1, it can be ensured that the salary calculation covers the target object's attendance in all departments, thereby avoiding omissions or duplications in salary calculations. The automated verification process reduces the manual verification work of HR personnel, which is a reflection of the improvement of the intelligent level of the salary calculation system and improves work efficiency. In the employee secondment scenario, ensuring the accuracy of salary calculation requires verifying whether the total attendance percentage of employees in all relevant departments (including seconded departments and main post departments) is complete. If this verification step is missing, it may lead to omissions or duplications in salary calculations, which in turn affects the accuracy of salary. The verification of attendance percentage in related technologies may rely on manual verification by HR personnel, which is not only inefficient but also prone to errors.
[0033] In an optional embodiment, the method further includes: when it is determined that the split salary of the target object for that month has not been calculated, prohibiting the submission operation of the salary data for that month, wherein the salary data for that month includes the salary data of all employees in the main department for that month.
[0034] In the above embodiment, when it is determined that the split salary of the target object for the current month has not been calculated, the submission operation of the salary data for the current month is prohibited. For example, if the target object belongs to the main post department and is transferred to multiple seconded departments in the current month, the main post department can automatically obtain the split salary data of the target object in multiple seconded departments when calculating the monthly salary of all employees in the department. If the split salary data of one of the seconded departments has not been calculated, the total attendance percentage value of the target object for the current month (that is, the sum of the first attendance percentage value and the second attendance percentage value) is less than 1, then the monthly salary of the target object cannot be calculated at this time, and the submit (or confirm) button in the system interface cannot be clicked, which can avoid the problem of misoperation. By implementing this control mechanism, we ensure that the split salaries of all employees are fully calculated and accurately recorded before submitting the overall salary data, which greatly improves the accuracy and reliability of salary data. By prohibiting the submission of salary data when the split salary calculation is not completed, we effectively reduce the risk of erroneous submission of salary data due to improper operation or system errors, and protect the interests of the company and employees. By ensuring the accuracy of salary data, we can avoid employee dissatisfaction and complaints caused by salary errors, and enhance employees' trust and satisfaction with the company.
[0035] In an optional embodiment, the method further includes: when it is determined that the split salary of the target object for that month has not been calculated, issuing an alarm to the target secondment department, wherein the target secondment department is a secondment department among the N secondment departments that has not performed the split salary calculation.
[0036] In the above embodiment, when it is determined that the split salary of the target object for the current month has not been calculated, an alarm prompt is issued to the target secondment department. For example, when the main post department to which the target object belongs is calculating the monthly salary of the employees of the department, where the target object is seconded in the current month, when the salary calculation system is triggered to start calculation, the split salary data of the target object in each secondment department is automatically obtained. When it is determined based on the attendance ratio that the split salary of the target object for the current month has not been calculated, for example, some secondment departments (corresponding to the above target secondment department) have not yet calculated the split salary for the target object, the system will automatically issue an alarm prompt to the secondment department. Alternatively, the HR of the main post department to which the target object belongs may click a reminder button in the system to issue an alarm prompt to the target secondment department to remind it to calculate the split salary of the target object for the current month in a timely manner, so that the personnel of the target secondment department who have the authority to log in to the system will receive the prompt. By promptly reminding the seconded departments that have not performed split salary calculations, salary calculation errors or omissions caused by delayed processing are reduced, and the accuracy and reliability of salary data are improved; by introducing an alarm prompt mechanism, the entire process is made more automated and intelligent, reducing the uncertainty caused by human intervention and improving management efficiency.
[0037] In an optional embodiment, issuing an alarm to the target secondment department includes at least one of the following: sending a reminder message to the HR of the target secondment department through a system notification; sending a reminder message to the HR of the target secondment department through a text message; sending a reminder message to the HR of the target secondment department through an email.
[0038] In the above embodiment, reminder information can be sent to the HR of the target secondment department through system notification, SMS, or email, and alarm prompts can also be sent to the HR of the target secondment department through other methods, so that the salary management system is more flexible and changeable in terms of alarm prompts, and can adapt to the differentiated needs of different organizations and departments. Providing multiple alarm prompt methods can meet these diverse needs and ensure that the reminder information can be received and processed in the most appropriate scenario. By providing multiple alarm prompt methods, the blind spots or omissions that may exist in information transmission are solved, the reliability and effectiveness of information transmission are improved, and the flexibility of the system and user experience are enhanced, achieving the effect of improving information transmission efficiency and reducing communication costs.
[0039] In an optional embodiment, after obtaining the target salary data, the method further includes: storing the first attendance data, the second attendance data, a group of salary data, the main post department salary data and the target salary data, wherein the second attendance data is used to represent the attendance data of the target object in the main post department that month, the main post department salary data is calculated according to the salary standard of the main post department and the second attendance data, the target salary data is obtained after merging and taxing a group of salary data and the main post department salary data, the i-th salary data is calculated according to the salary standard of the i-th seconded department and the attendance data of the target object in the i-th seconded department that month, wherein a group of salary data includes the N-th salary data, the i-th salary data is any one of the N salary data, and i is a positive integer greater than or equal to 1 and less than or equal to N.
[0040] In the above embodiment, when it is determined that the split salary of the target object for the current month has been calculated, after obtaining the target salary data, the first attendance data, the second attendance data, a group of salary data, the main post department salary data and the target salary data are stored, that is, the attendance and salary composition related data of the target object for the current month are archived for subsequent query, thereby improving the security and traceability of the data. The target salary data is the salary data obtained after a group of salary data and the main post department salary data are summarized and taxed. The above group of salary data includes N salary data of the target object in N seconded departments, and the first attendance data includes N attendance data of the target object in N seconded departments. By storing key data in a timely manner, the security and traceability of the data are improved, providing strong data support for the subsequent audit, query and other work of the enterprise. By clarifying the data storage and integration processing process after the salary calculation is completed, technical problems such as data integrity preservation, data integration processing and tax compliance are solved, and technical effects such as improving data security, optimizing data processing process, enhancing tax compliance and improving user experience are achieved.
[0041] In an optional embodiment, a group of salary data is consolidated and taxed to obtain target salary data, including: aggregating a group of salary data and the salary data of the main department, and calculating taxes based on the aggregated salary data to obtain the tax and target salary data for the month.
[0042] Furthermore, when splitting costs, the target object's monthly tax can be apportioned according to the target object's attendance ratio in the N secondment departments and the main department in the month. For example, the target object worked 15 days in the main department, 5 days in the first secondment department, and 10 days in the second secondment department. Assuming that the monthly tax calculated after summarization is 300 yuan, the main department tax is apportioned 300 yuan*15 / 30=150 yuan, the first secondment department is apportioned 300 yuan*5 / 30=50 yuan, and the second secondment department is apportioned 300 yuan*10 / 30=100 yuan. This can more reasonably control the labor costs of each department (or store).
[0043] It should be noted that the above-described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application will be described in detail below in conjunction with specific embodiments.
[0044] This application provides a salary calculation method for employee secondment and transfer. The overall idea of the embodiment of this application is described as follows: (1) The HR of the secondment department first calculates the split salary data of the secondment department; (2) The HR of the main department calculates and summarizes the data, automatically obtains the employee's split salary data in other seconded departments, and determines whether the employee data is calculated completely based on the calculated employee attendance ratio; (3) After summarizing the calculated salary data of all seconded departments, calculate the employee's tax and other data for the month to complete the calculation of the employee's salary data for the month.
[0045] The present application embodiment includes the following parts: 1. Split calculation by department: The secondment department automatically determines whether split calculation is required for employees based on their attendance data, and calculates the split salary in the department based on their attendance data.
[0046] 2. Calculation monitoring and alarm of the main department: Automatically obtain the split salary data of the seconded department, determine the attendance ratio of employees, quickly know whether the split salary of each seconded department has been calculated, and promptly remind the HR of the seconded department to calculate the split data.
[0047] 3. Automatically consolidate and calculate taxes: Summarize the split salary data of all seconded departments, calculate taxes based on the consolidated salary data, and quickly and correctly calculate the employee's monthly salary data.
[0048] 4. Department cost splitting: Based on the calculated split data of the seconded department, the cost is automatically split according to the department, helping managers to better view the cost situation of each department.
[0049] Figure 2 : is a schematic diagram of a flow chart of a secondment plan accounting provided in an embodiment of the present application, and the flow chart includes: S201, start calculating the secondment plan; S202, determining whether there is locked attendance data; S203, when the judgment result of the above step S202 is no, the attendance data is obtained and locked, and then the process returns to step S201; S204, when the judgment result of the above step S202 is yes, pull the locked list of personnel for attendance data collection; S205, performing secondment plan accounting, for example, performing salary accounting for seconded personnel; S206, salary lock.
[0050] Figure 3 This is an example diagram of the calculation results of a secondment plan provided in an embodiment of the present application. The diagram shows the attendance ratio of an employee in two secondment departments. Each secondment department can perform split salary calculation based on the employee's attendance data in each secondment department and the salary standards of each secondment department.
[0051] Figure 4 This is a schematic diagram of a process flow of a general plan accounting for a main post provided in an embodiment of the present application, and the process includes: S401, start calculating the general plan for the main post; S402, taking the attendance data of the main post of this plan, taking the split plan data of the attendance department corresponding to the personnel, etc.; for example, the attendance data of employee Zhang San in the main post department, the attendance data in other seconded departments, and the split salary data; S403, perform general plan accounting for the main post; S404, archive after calculation is completed.
[0052] Figure 5 This is an example diagram of the calculation results of the general plan for the main post provided in an embodiment of the present application. The diagram shows the salary calculation interface of the main post department, in which two employees are seconded to other departments.
[0053] When the platform adopts the solution of the embodiment of the present application, the salary data of the employee in the case of secondment and transfer can be automatically calculated. In order to better understand the embodiment of the present application, an example is now given for explanation.
[0054] For example: Employee Zhang San is currently in Department C. He is seconded to Department A from the 1st to the 5th of the month, and to Department B from the 10th to the 20th. At the end of the month, when the HR of Department C calculates his salary, he will see the split data of Zhang San's secondment in Department A and Department B during the calculation process. After the HR of Department A and Department B calculate Zhang San's seconded employee salary data, the HR of Department C will take the calculated split salary data for summary calculation and automatically calculate the employee Zhang San's summary salary data for this month.
[0055] This application also provides a salary calculation system, such as Figure 6 As shown, Figure 6 : is a structural block diagram of a salary calculation system provided in an embodiment of the present application, the system comprising: An acquisition module 601 is used to acquire a set of salary data of a target object, wherein the set of salary data includes the split salary data of the target object in N secondment departments in that month, where N is a positive integer greater than or equal to 1; A judgment module 602 is used to judge whether the split salary of the target object for the current month has been calculated based on a set of salary data; Processing module 603 is used to combine and calculate a set of salary data to obtain target salary data when it is determined that the split salary of the target object for that month has been calculated, wherein the target salary data is used to represent the comprehensive salary data of the target object for that month.
[0056] Other system embodiments correspond to the aforementioned method embodiments, and other technical features can be found in the previous embodiments, which will not be repeated here.
[0057] The present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed, any one of the method steps described above is executed.
[0058] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0059] The present application also discloses an electronic device. Figure 7 As shown, Figure 7 The electronic device 700 may include: at least one processor 701 , at least one network interface 704 , a user interface 703 , a memory 705 , and at least one communication bus 702 .
[0060] The communication bus 702 is used to realize the connection and communication between these components.
[0061] The user interface 703 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 703 may also include a standard wired interface and a wireless interface.
[0062] The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0063] Among them, the processor 701 may include one or more processing cores. The processor 701 uses various interfaces and lines to connect various parts of the entire electronic device (such as a server), and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 705, and calling data stored in the memory 705. Optionally, the processor 701 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 701 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 701, and it can be implemented separately through a chip.
[0064] Among them, the memory 705 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 705 includes a non-transitory computer-readable storage medium. The memory 705 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 705 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 705 may optionally also be at least one storage device located away from the aforementioned processor 701. Refer to Figure 7 , the memory 705 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a salary calculation method.
[0065] exist Figure 7In the electronic device 700 shown, the user interface 703 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 701 can be used to call an application for a salary calculation method stored in the memory 705. When executed by one or more processors 701, the electronic device 700 executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0066] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0067] In the several implementation modes provided in this application, it should be understood that the disclosed device or system can be implemented in other ways. For example, the device or system embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0068] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0069] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0070] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
[0071] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0072] This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field not recorded in the present disclosure.
Claims
1. A salary calculation method, characterized in that: include: Obtaining a set of salary data of the target object, wherein the set of salary data includes the split salary data of the target object in N secondment departments in that month, where N is a positive integer greater than or equal to 1; Determining whether the split salary of the target object for the current month has been calculated based on the set of salary data; When it is determined that the split salary of the target object for that month has been calculated, the group of salary data is consolidated for tax calculation to obtain target salary data, wherein the target salary data is used to represent the comprehensive salary data of the target object for that month.
2. The method according to claim 1, characterized in that After obtaining the target salary data, the method further includes: Cost splitting is performed based on the set of salary data to obtain cost splitting data of each secondment department in the N secondment departments.
3. The method according to claim 1, characterized in that Determining whether the split salary of the target object for the current month has been calculated based on the set of salary data includes: Determine a first attendance percentage value of the target object in the N seconded departments in that month based on the set of salary data and the first attendance data, wherein the first attendance data includes the attendance data of the target object in each of the N seconded departments in that month; When it is determined that the sum of the first attendance percentage value and the second attendance percentage value is less than 1, it is determined that the split salary of the target object for that month has not been calculated, wherein the second attendance percentage value is used to represent the attendance percentage value of the target object in the main department for that month; When it is determined that the sum of the first attendance percentage value and the second attendance percentage value is equal to 1, it is determined that the split salary of the target object for that month has been calculated.
4. The method according to claim 3, characterized in that The method further comprises: When it is determined that the split salary of the target object for that month has not been calculated, submission of the salary data for that month is prohibited, wherein the salary data for that month includes the salary data of all employees of the main department for that month.
5. The method according to claim 3, characterized in that: The method further comprises: When it is determined that the split salary of the target object for that month has not been calculated, an alarm is issued to the target secondment department, wherein the target secondment department is a secondment department among the N secondment departments for which the split salary calculation has not been performed.
6. The method according to claim 5, characterized in that The warning prompts sent to the target secondment department include at least one of the following: Send reminder information to the HR of the target secondment department through system notification; Send reminder information to the HR of the target secondment department via SMS; Send a reminder message to the HR of the target secondment department via email.
7. The method according to claim 3, characterized in that After obtaining the target salary data, the method further includes: The first attendance data, the second attendance data, the group of salary data, the main post department salary data and the target salary data are stored, wherein the second attendance data is used to represent the attendance data of the target object in the main post department in that month, the main post department salary data is calculated according to the salary standard of the main post department and the second attendance data, the target salary data is obtained after the group of salary data and the main post department salary data are combined and taxed, the i-th salary data is calculated according to the salary standard of the i-th seconded department and the attendance data of the target object in the i-th seconded department in that month, wherein the group of salary data includes the N-th salary data, the i-th salary data is any one of the N salary data, and i is a positive integer greater than or equal to 1 and less than or equal to N.
8. A salary calculation system, characterized in that: include: An acquisition module, used to acquire a set of salary data of a target object, wherein the set of salary data includes the split salary data of the target object in N secondment departments in that month, where N is a positive integer greater than or equal to 1; A judgment module, used for judging whether the split salary of the target object for the current month has been calculated based on the set of salary data; The processing module is used to combine and calculate the tax of the set of salary data to obtain target salary data when it is determined that the split salary of the target object for the month has been calculated, wherein the target salary data is used to represent the comprehensive salary data of the target object for the month.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is performed.
