fix(task): 修复任务状态更新和超时处理问题

This commit is contained in:
2026-06-11 11:27:14 +08:00
parent 196d2069ac
commit afd60caf56
4 changed files with 131 additions and 99 deletions

View File

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