yuanxuehua

This commit is contained in:
jiangyong27 2025-04-02 17:50:04 +08:00
parent 5e9ac840b4
commit 8c5dac38b4
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ func NewSalaryCalculator1002(corp *model.Corp, user *model.StaffUser) registry.S
func (s *SalaryCalculator1002) Calculate(salary *model.StaffSalary) map[string]interface{} { func (s *SalaryCalculator1002) Calculate(salary *model.StaffSalary) map[string]interface{} {
data := make(map[string]interface{}) data := make(map[string]interface{})
//离职人员考勤异常
if salary.Username == "yuanxuehua" && salary.Month == "202503" {
salary.AttendSalary = 12
}
// 1.订单 // 1.订单
monthTime, _ := time.ParseInLocation("200601", salary.Month, time.Local) monthTime, _ := time.ParseInLocation("200601", salary.Month, time.Local)
startTime := monthTime.Unix() startTime := monthTime.Unix()