diff --git a/api/internal/logic/core/pagelisttasklogic.go b/api/internal/logic/core/pagelisttasklogic.go index 8877a03a..abcbde00 100644 --- a/api/internal/logic/core/pagelisttasklogic.go +++ b/api/internal/logic/core/pagelisttasklogic.go @@ -155,6 +155,7 @@ func (l *PageListTaskLogic) updateTaskStatus(tasks []*types.TaskModel, ch chan<- task.EndTime = end.Format(constants.Layout) } + task.UpdatedTime = time.Now().Format(constants.Layout) tx = l.svcCtx.DbEngin.Table("task").Updates(task) if tx.Error != nil { logx.Errorf(tx.Error.Error())