This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
JointCloud
/
pcm-coordinator
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
删除任务信息接口bug修复
Former-commit-id:
5a33aba8bf
pull/9/head
zhangwei
2 years ago
parent
9b3da9a6c1
commit
a12d6c2998
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
api/internal/logic/core/deletetasklogic.go
+ 1
- 1
api/internal/logic/core/deletetasklogic.go
View File
@@ -31,7 +31,7 @@ func (l *DeleteTaskLogic) DeleteTask(req *types.DeleteTaskReq) error {
return tx.Error
return tx.Error
}
}
// 将子任务信息修改为待删除
// 将子任务信息修改为待删除
tx = l.svcCtx.DbEngin.Model(&model.
Task{}).Where("
id", req.Id).Update("status", "WaitDelete")
tx = l.svcCtx.DbEngin.Model(&model.
Cloud{}).Where("task_
id", req.Id).Update("status", "WaitDelete")
if tx.Error != nil {
if tx.Error != nil {
return tx.Error
return tx.Error
}
}
Write
Preview
Loading…
Cancel
Save