go-common/app/job/main/tv/dao/ugc/sync_arc.go

16 lines
299 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package ugc
import (
"context"
"go-common/library/log"
)
// FinishArc updates the submit status from 1 to 0
func (d *Dao) FinishArc(c context.Context, aid int64) (err error) {
if _, err = d.DB.Exec(c, _finishArc, aid); err != nil {
log.Error("FinishVideos Error: %v", aid, err)
}
return
}