From f42a48b27f1d744e51d6e7f4cea2b3a9baa5147b Mon Sep 17 00:00:00 2001 From: tzwang Date: Fri, 17 May 2024 17:38:48 +0800 Subject: [PATCH] fix submit bugs Former-commit-id: 249398644e9177b761dc6d47c1a2c795effd29af --- api/internal/logic/core/pagelisttasklogic.go | 1 + 1 file changed, 1 insertion(+) 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())