From 8c5dac38b4ce7246ab06c102721bddb79b2b6692 Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Wed, 2 Apr 2025 17:50:04 +0800 Subject: [PATCH] yuanxuehua --- service/salary_calculator/salary_calculator_1002.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/service/salary_calculator/salary_calculator_1002.go b/service/salary_calculator/salary_calculator_1002.go index f606236..9d976a4 100644 --- a/service/salary_calculator/salary_calculator_1002.go +++ b/service/salary_calculator/salary_calculator_1002.go @@ -23,6 +23,11 @@ func NewSalaryCalculator1002(corp *model.Corp, user *model.StaffUser) registry.S func (s *SalaryCalculator1002) Calculate(salary *model.StaffSalary) map[string]interface{} { data := make(map[string]interface{}) + //离职人员考勤异常 + if salary.Username == "yuanxuehua" && salary.Month == "202503" { + salary.AttendSalary = 12 + } + // 1.订单 monthTime, _ := time.ParseInLocation("200601", salary.Month, time.Local) startTime := monthTime.Unix()