package archive import ( "context" "database/sql" "fmt" "time" "go-common/app/admin/main/videoup/model/archive" xsql "go-common/library/database/sql" "go-common/library/log" xtime "go-common/library/time" "go-common/library/xstr" ) const ( _upArcSQL = "UPDATE archive SET title=?,content=?,copyright=?,cover=?,note=?,pubtime=?,mtime=? WHERE id=?" _upArcTpSQL = "UPDATE archive SET typeid=? WHERE id=?" _upArcRound = "UPDATE archive SET round=? WHERE id=?" _upArcState = "UPDATE archive SET state=? WHERE id=?" _upAccessSQL = "UPDATE archive SET access=? WHERE id=?" _upAuthorSQL = "UPDATE archive SET mid=?,author=? WHERE id=?" _upPTimeSQL = "UPDATE archive SET pubtime=? WHERE id=?" _upArcReasonSQL = "UPDATE archive SET reject_reason=?,forward=? WHERE id=?" _upArcAttrSQL = "UPDATE archive SET attribute=attribute&(~(1<