You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
415 B
19 lines
415 B
package archive |
|
|
|
import ( |
|
"context" |
|
|
|
"go-common/library/log" |
|
) |
|
|
|
const ( |
|
_seNoteSQL = "SELECT note FROM archive_video_audit WHERE vid=?;" |
|
) |
|
|
|
//VideoAuditNote get note by vid |
|
func (d *Dao) VideoAuditNote(c context.Context, vid int64) (note string, err error) { |
|
if err = d.db.QueryRow(c, _seNoteSQL, vid).Scan(¬e); err != nil { |
|
log.Error("VideoAuditNote db.row.scan error(%v) vid(%d)", err, vid) |
|
} |
|
return |
|
}
|
|
|