vacation2

This commit is contained in:
jiangyong27 2024-11-01 14:04:38 +08:00
parent 0b8e8991a1
commit 23162c2181
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ func (s *Staff) SyncStaffSalary(month string) {
//同一天请假时长大于8小时算一天
if startTime.Format("2006-01-02") == endTime.Format("2006-01-02") && vac.VacationDuration > 1 {
holiday += vac.VacationDuration
holiday += 1
} else {
holiday += vac.VacationDuration
}