fix submit bugs

Former-commit-id: 249398644e9177b761dc6d47c1a2c795effd29af
This commit is contained in:
tzwang 2024-05-17 17:38:48 +08:00
parent 258258b04f
commit f42a48b27f
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())