正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -67,7 +67,7 @@ func (ptr *PGWorkerAttendanceReportService) Report(cid, oid int, report *domain. | @@ -67,7 +67,7 @@ func (ptr *PGWorkerAttendanceReportService) Report(cid, oid int, report *domain. | ||
67 | productCalendar, _ = productCalendarRepository.FindOne(map[string]interface{}{"companyId": cid, "orgId": oid, "workStationId": workStation.WorkStationId}) | 67 | productCalendar, _ = productCalendarRepository.FindOne(map[string]interface{}{"companyId": cid, "orgId": oid, "workStationId": workStation.WorkStationId}) |
68 | } | 68 | } |
69 | 69 | ||
70 | - beginTime := report.ActionTime.Add(-time.Hour * 13) | 70 | + beginTime := report.ActionTime.Add(-time.Hour * 16) |
71 | endTime := report.ActionTime | 71 | endTime := report.ActionTime |
72 | _, records, _ := attendanceRecordDao.WorkerAttendanceRecords(cid, oid, worker.UserId, "", beginTime, endTime) | 72 | _, records, _ := attendanceRecordDao.WorkerAttendanceRecords(cid, oid, worker.UserId, "", beginTime, endTime) |
73 | for i := 0; i < len(records); i++ { | 73 | for i := 0; i < len(records); i++ { |
-
请 注册 或 登录 后发表评论