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()