This commit is contained in:
parent
f2be0d19f2
commit
bcc81e7ce3
|
@ -12,7 +12,7 @@ db = "enterprise"
|
||||||
|
|
||||||
[unify_mysql]
|
[unify_mysql]
|
||||||
host = "192.168.2.50"
|
host = "192.168.2.50"
|
||||||
port = 13307
|
port = 23307
|
||||||
user = "unify"
|
user = "unify"
|
||||||
pass = "MDE2LCJIYXNoSWQiOjY"
|
pass = "MDE2LCJIYXNoSWQiOjY"
|
||||||
db = "unify"
|
db = "unify"
|
||||||
|
|
|
@ -272,10 +272,10 @@ func (s *Staff) getRealWorkDay(entryDate, leaveDate, username, month string) flo
|
||||||
}
|
}
|
||||||
|
|
||||||
////有请假申请的不算出勤
|
////有请假申请的不算出勤
|
||||||
//approvalVacation, _ := dao.NewApprovalVacationDao().GetByUsernameDay(username, checkin.Day)
|
approvalVacation, _ := dao.NewApprovalVacationDao().GetByUsernameDay(username, checkin.Day)
|
||||||
//if approvalVacation != nil {
|
if approvalVacation != nil {
|
||||||
// continue
|
continue
|
||||||
//}
|
}
|
||||||
|
|
||||||
// 迟到的按时间折算
|
// 迟到的按时间折算
|
||||||
if strings.Contains(checkin.Exception, "上班打卡:时间异常") {
|
if strings.Contains(checkin.Exception, "上班打卡:时间异常") {
|
||||||
|
|
Loading…
Reference in New Issue