作者 yangfu

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

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