This commit is contained in:
parent
8ac99776b2
commit
3b8ed9a4e1
|
@ -360,9 +360,10 @@ func executeRollBack(lastValidTask *dbstruct.VideoModerationTask) (err error) {
|
|||
}
|
||||
if err = _DefaultVideoModerationTask.OpUpdate(ctx, &video_moderation_task_proto.OpUpdateReq{
|
||||
VideoModerationTask: &dbstruct.VideoModerationTask{
|
||||
Id: lastValidTask.Id,
|
||||
Status: goproto.Int64(consts.VideoModeration_Rollbacked),
|
||||
Remarks: goproto.String("任务审核失败,已将字段回退至之前的版本"),
|
||||
Id: lastValidTask.Id,
|
||||
Status: goproto.Int64(consts.VideoModeration_Rollbacked),
|
||||
Remarks: goproto.String("任务审核失败,已将字段回退至之前的版本"),
|
||||
BusinessOpinion: lastValidTask.BusinessOpinion,
|
||||
},
|
||||
}); err != nil {
|
||||
logger.Error("_DefaultVideoModeration OpUpdate fail: %v\n", err)
|
||||
|
|
Loading…
Reference in New Issue