...
|
...
|
@@ -182,7 +182,7 @@ func (productAttendanceRecord *ProductAttendanceRecord) AttendanceBreakTime(prod |
|
|
checkSignIn, checkSignOut time.Time
|
|
|
)
|
|
|
checkSignIn = v.GetCheckBeginTime(signIn.Local())
|
|
|
checkSignOut = v.GetCheckEndTime(signIn.Local())
|
|
|
checkSignOut = checkSignIn //v.GetCheckEndTime(signIn.Local())
|
|
|
if xtime.BeforeEqual(signIn.Local(), checkSignIn) && xtime.AfterEqual(signOut.Local(), checkSignOut) {
|
|
|
bt += v.BreakTime
|
|
|
}
|
...
|
...
|
|