fix submit bugs
Former-commit-id: 249398644e9177b761dc6d47c1a2c795effd29af
This commit is contained in:
parent
258258b04f
commit
f42a48b27f
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue