作者 yangfu

fix: 打卡工时修改,设备采集时间使用服务器当前时间

... ... @@ -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
}
... ...