From a6a9b9197cb830ec028c2e19e89d53fbec42aa9a Mon Sep 17 00:00:00 2001 From: cjy Date: Fri, 5 Jun 2026 14:44:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9zap=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/taskDao.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/dao/taskDao.go b/internal/dao/taskDao.go index 27bd7c1..1922b34 100644 --- a/internal/dao/taskDao.go +++ b/internal/dao/taskDao.go @@ -1582,14 +1582,14 @@ func UpdateTaskProgress(req *dto.CompleteTaskRequest) error { if newCompleteCount > assignRecord.AssignVideoScriptCount { // 暂时都只记录错误,不报错;并且不更新 if req.AssignRecordsUUID != "false" { - app.ModuleClients.Lg.Info("数据完成数量超出限制,跳过更新", + app.ModuleClients.Lg.Info("脚本完成数量超出限制,跳过更新", zap.String("assignRecordsUUID", assignRecord.AssignRecordsUUID), zap.String("employeeName", req.EmployeeName), zap.String("employeeNum", req.EmployeeNum), - zap.Int("currentCompleteCount", assignRecord.CompleteDataCount), + zap.Int("currentCompleteCount", assignRecord.CompleteVideoScriptCount), zap.Int("requestCompleteCount", req.CompleteCount), zap.Int("newCompleteCount", newCompleteCount), - zap.Int("assignDataCount", assignRecord.AssignDataCount), + zap.Int("assignVideoScriptCount", assignRecord.AssignVideoScriptCount), ) tx.Rollback() return nil @@ -1602,11 +1602,11 @@ func UpdateTaskProgress(req *dto.CompleteTaskRequest) error { if newPending < 0 { // 暂时都只记录错误,不报错;并且不更新 if req.AssignRecordsUUID != "false" { - app.ModuleClients.Lg.Info("待发数据数不足,跳过更新", + app.ModuleClients.Lg.Info("待发脚本数不足,跳过更新", zap.String("assignRecordsUUID", assignRecord.AssignRecordsUUID), zap.String("employeeName", req.EmployeeName), zap.String("employeeNum", req.EmployeeNum), - zap.Int("currentPendingCount", assignRecord.PendingDataCount), + zap.Int("currentPendingCount", assignRecord.PendingVideoScriptCount), zap.Int("requestCompleteCount", req.CompleteCount), zap.Int("newPendingCount", newPending), )