fix(task): 修复任务状态更新和超时处理问题
This commit is contained in:
@@ -36,6 +36,7 @@ func (d *taskDao) Update(ctx context.Context, req *entity.AsynchTask) (rows int6
|
||||
OmitEmpty().
|
||||
Data(&req).
|
||||
Where(entity.AsynchTaskCol.Id, req.Id).
|
||||
Where(entity.AsynchTaskCol.TaskID, req.TaskID).
|
||||
Update()
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user