薪资计算逻辑完善
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
<result property="updateBy" column="update_by"/>
|
||||
<result property="updateTime" column="update_time"/>
|
||||
</resultMap>
|
||||
<insert id="insertBinding">
|
||||
INSERT INTO oa_employee_template_binding
|
||||
(employee_id, insurance_template_id, salary_template_id, pay_year, pay_month, net_salary, total_company_cost, status)
|
||||
VALUES (#{employeeId}, #{insuranceTemplateId}, #{salaryTemplateId}, #{payYear}, #{payMonth}, #{netSalary}, #{totalCompanyCost}, #{status})
|
||||
</insert>
|
||||
<select id="findByEmployeeAndMonth" resultType="com.ruoyi.oa.domain.OaEmployeeTemplateBinding">
|
||||
SELECT * FROM oa_employee_template_binding
|
||||
WHERE employee_id = #{employeeId}
|
||||
|
||||
Reference in New Issue
Block a user