Merge pull request 'fix submit bugs' (#185) from tzwang/pcm-coordinator:master into master
Former-commit-id: f2f03d3e9367d4e99dad93afe36efe17dbf0d6e2
This commit is contained in:
commit
25d27ac332
|
@ -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