go-common/app/admin/main/videoup/service/porder.go

19 lines
482 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"go-common/app/admin/main/videoup/model/archive"
"go-common/library/database/sql"
"go-common/library/log"
)
// TxUpPorder .
func (s *Service) TxUpPorder(tx *sql.Tx, ap *archive.ArcParam) (err error) {
//区分自首还是审核回查添加
if _, err = s.arc.TxUpPorder(tx, ap.Aid, ap); err != nil {
log.Error("s.arc.TxUpPorder(%d,%+v) error(%v)", ap.Aid, ap, err)
return
}
log.Info("TxUpPorder aid(%d) update archive_porder", ap.Aid)
return
}