Merge pull request 'fix submit bugs' (#185) from tzwang/pcm-coordinator:master into master

Former-commit-id: f2f03d3e9367d4e99dad93afe36efe17dbf0d6e2
This commit is contained in:
tzwang 2024-05-17 17:42:36 +08:00
commit 25d27ac332
1 changed files with 1 additions and 0 deletions

View File

@ -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())